The trouble is that using a different character like \1 to indicate block copy introduces side effects and I don't think Neil (the maintainer of Scintilla) would accept such a fix.

There is technically no guarantee that another app would ignore the \0 either, it might not be written in C and so it might try to use it. The indication must not be part of a "text" format clipboard format that other apps see, thats why Windows makes its own format for block select as above. The Scintilla GTK backend should do the same on all platforms. Currently it actually uses the same Windows code as a special case on PLAT_GTK_WIN, perhaps that special case could be removed if it was done for all GTK. Because its a separate format, only another Scintilla will ask for it, all other apps will ignore that format and ask for text, so there will be no issues with extra characters.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany-osx/issues/40/1270735520@github.com>