Downloaded your editor and found some issues with it (I am assuming the editor is far from complete but I figured I'd post a bug report anyway).
For starters I found a small typo in a menu.
Edit->Convert Simvols to
should read
Menu Edit -> Convert Symbols to
(changed Simvols to Symbols)
The typo actually is not the problem but the problem does have to do with changing the case of symbols.
Using Convert Symbols to enables the user to toggle/change the case of user defined symbols (case of keywords remains unchanged).
This seems to work fine on a function header. Example.
Step 1. Select the following text.
Code: Select all
Function do_something(Byval a As Integer, Byval d As Integer) As Integer
Step 2. Toggle case to upper.
Code: Select all
Function DO_SOMETHING(Byval A As Integer, Byval D As Integer) As Integer
If I copy the selected text from your editor and paste it into another editor (or into a browser or into ...) the case of every symbol has changed to
uppercase (not just the symbols). Which means the pasted text looks like this
Code: Select all
FUNCTION DO_SOMETHING(BYVAL A AS INTEGER, BYVAL D AS INTEGER) AS INTEGER
Using some other scintilla based editor changes in case work as expected (copy - paste works as expected: no unexpected changes in case).
So the problem seems to be with your editor and not so much with scintilla.
When changing the case of the following line (select line then Ctrl - U)
I get the following result
The case of macro should not have changed to UPPERCASE (macro is a freebasic keyword). I would have expect the output to be
Same thing happens when using #define or any other preprocessor directive.
Aside: I am working on an iup example myself (iup is nice).