XP rich text cut-n-paste

Neil Hodgson nyamatongwe+thunder at gmail.com
Sun Mar 5 09:20:02 CET 2006


Paddy:

> Scintilla does indeed have the feature, and googling for the term "copy
> as RTF" lead me to http://www.pnotepad.org/ which also has the feature.

    Its actually implemented in SciTE rather than Scintilla by the ugly 
technique of writing out an RTF file and then copying that to the 
clipboard. It only works on Windows due to the simpler clipboard API 
compared to X and since RTF is a common format on Windows. Other 
projects sometimes include code from SciTE even though the code isn't 
really written for reuse.

    Neil



More information about the Python-list mailing list