Robert Roessler:

> Well, it looks easy/safe enough to slightly modify
> Editor::MovePositionOutsideChar() so that after checking IsProtected()
> an additional check is made for the presence of an indicator with a
> style like INDIC_HIDDEN (or a new one for this purpose); if there,
> then it would mean "valid positioning point".

   Styles are set on bytes, positions such as the caret are between
bytes. You could say INDIC_HIDDENBREAK indicates a valid caret
position before or after a byte so marked but it is not so clean.

> For that matter, I wouldn't mind having *any* indicator in a protected
> region meaning "valid positioning point", but that might be considered
> too extreme a semantic change.

   It is likely people will still want to highlight syntax errors or
search matches within protected text without allowing it to be
modified.

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to