Recent

Author Topic: [SOLVED] "Special characters" menu item auto-added by OS  (Read 2368 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
[SOLVED] "Special characters" menu item auto-added by OS
« on: August 05, 2020, 10:01:47 am »
CudaText has auto-added Emojis menu item (AFAIK in Edit menu) which shows OS dialog to choose emojis, but CudaText don't get this emojis into its editor. So how to make emojis go to CudaText editor (ATSynEdit)?
Need some tips

I am not on Mac so cannot check how it works in Lazarus (SynEdit).
« Last Edit: August 18, 2020, 07:58:16 am by Alextp »

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: "Emojis" menu items which is auto-added by Cocoa
« Reply #1 on: August 06, 2020, 12:55:34 am »
please bug report

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: "Emojis" menu items which is auto-added by Cocoa
« Reply #2 on: August 06, 2020, 08:36:38 am »
Posted the issue.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: "Emojis" menu items which is auto-added by Cocoa
« Reply #3 on: August 06, 2020, 08:59:18 am »
Bugtracker: Issue 37497.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: "Emojis" menu items which is auto-added by Cocoa
« Reply #4 on: August 06, 2020, 05:06:41 pm »
what about win32 emoji?

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: "Emojis" menu items which is auto-added by Cocoa
« Reply #5 on: August 06, 2020, 05:11:59 pm »
I want to support macOS OS-added menu item "Insert spec chars" in CudaText. Win don't add such item.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: "Emojis" menu items which is auto-added by Cocoa
« Reply #6 on: August 07, 2020, 07:23:22 am »
a cross-platform solution is still desired.

Here's how to test with Windows 10.
Select any text-input control and press "Win"+"."
An emoji dialog should show up allowing a user to print out any Unicode emojis into a control

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: "Emojis" menu items which is auto-added by Cocoa
« Reply #7 on: August 07, 2020, 12:56:36 pm »
Win Emoji dialog is ALREADY supported in CudaText and Lazarus.
By using IME WinAPI.

But macOS dialog is not

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: "Emojis" menu items which is auto-added by Cocoa
« Reply #8 on: August 07, 2020, 04:50:03 pm »
Win Emoji dialog is ALREADY supported in CudaText and Lazarus.
By using IME WinAPI.
I see, so the support is beyond LCL functionality it's a direct WinAPI use.

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: "Emojis" menu items which is auto-added by Cocoa
« Reply #9 on: August 08, 2020, 05:47:00 am »
Yes, right. we need smth for macOS too.

 

TinyPortal © 2005-2018