Recent

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

Alextp

  • Hero Member
  • *****
  • Posts: 1148
    • 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: 2520
    • 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
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

Alextp

  • Hero Member
  • *****
  • Posts: 1148
    • 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: 1008
  • 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.
o Lazarus v2.1.0 r63871, FPC v3.3.1 r46876, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 20.04 (Parallels VM)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
    • 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?
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

Alextp

  • Hero Member
  • *****
  • Posts: 1148
    • 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: 2520
    • 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
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

Alextp

  • Hero Member
  • *****
  • Posts: 1148
    • 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: 2520
    • 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.
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

Alextp

  • Hero Member
  • *****
  • Posts: 1148
    • 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