Recent

Author Topic: Problem with pasting text/utf8 in DoubleCmd's internal editor  (Read 1512 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2465
    • UVviewsoft
Re: Problem with pasting text/utf8 in DoubleCmd's internal editor
« Reply #15 on: September 11, 2024, 12:46:47 pm »
I don't understand - did I make good or bad fix?
WStr is 'xcb' for me here on Xubuntu 22.04.

zeljko

  • Hero Member
  • *****
  • Posts: 1645
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Problem with pasting text/utf8 in DoubleCmd's internal editor
« Reply #16 on: September 11, 2024, 01:17:15 pm »
Anyone can test if same issue exist for qt6 ?

AlexTP

  • Hero Member
  • *****
  • Posts: 2465
    • UVviewsoft
Re: Problem with pasting text/utf8 in DoubleCmd's internal editor
« Reply #17 on: September 11, 2024, 01:20:27 pm »
Yes, same issue exists in CudaText qt6 version, and qt6 file qtobjects.pas has the same block.

AlexTP

  • Hero Member
  • *****
  • Posts: 2465
    • UVviewsoft
Re: Problem with pasting text/utf8 in DoubleCmd's internal editor
« Reply #18 on: September 11, 2024, 01:23:43 pm »
I guess that line

Code: Pascal  [Select][+][-]
  1. if (WStr = 'xcb') or (CompareText(Copy(UTF16ToUTF8(WStr), 1, 7),'wayland') = 0) then  // do not translate
  2.  
can be removed at all? Same effect as to check it for 'xcb' and 'wayland'.

zeljko

  • Hero Member
  • *****
  • Posts: 1645
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Problem with pasting text/utf8 in DoubleCmd's internal editor
« Reply #19 on: September 11, 2024, 03:48:54 pm »
No, because offscreen plugin can be used. Fixed.

artist

  • Newbie
  • Posts: 4
Re: Problem with pasting text/utf8 in DoubleCmd's internal editor
« Reply #20 on: September 11, 2024, 08:55:36 pm »
thank you both very much!

topic can be closed

 

TinyPortal © 2005-2018