Feature Requests item #1357613, was opened at 2005-11-15 12:49 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=352439&aid=1357613&group_id=2439
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: No way to modify text being inserted Initial Comment: If, for example text is pasted from the clipboard or typed in by the user, i haven't found a way to modify this text or to filter special characters (before it is inserted). One method would be via the SCN_MODIFICATION Notification and to use SCI_REPLACETARGET or something similar. But the user could undo/redo that (and i dont want to clear the whole Undo/redo chain!) The other method would be to USE the Undo function, to undo the inserted text and to insert the text you wanted to insert actually! But this is much too time- consuming! (And moreover, quite complicated) So i thought that it should be possible to respond to SCN_MODIFICATION messages (for example with 'modificationType' SC_MOD_BEFOREINSERT) and to change the 'text' member of the passed SCNotification struct. (Actually it is possible, but it has no effect on the text inserted then). Best regards, Patrick W. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=352439&aid=1357613&group_id=2439 _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
