Source highlighting broken
Original Reporter info from Mantis: Gorelkin
-
Reporter name: Sergei Gorelkin
Original Reporter info from Mantis: Gorelkin
- Reporter name: Sergei Gorelkin
Description:
After rebuilding from revision 32170, editor source is no longer highlighted. However, if I switch the IDE language to English and restart the IDE, highlighting comes back. Changing the highlighting parameters from Options dialog (while IDE language is Russian) results in editoroptions.xml containing underscores instead of syntax element names, e.g:
<EditorOptions Version="8">
<Color Version="8">
<LangObjectPascal Version="8">
<ColorScheme Value="Default"/>
<SchemeDefault>
<__________________ Foreground="clRed" Style="fsBold"/>
</SchemeDefault>
</LangObjectPascal>
</Color>
--cut--
This suggests that
- Syntax element names written to editoroptions.xml became localized at some point;
- Saving/restoring editor options is unable to handle non-ascii data.
Mantis conversion info:
- Mantis ID: 20204
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 32239 (#d7f55a07)
- Target version: 0.99.0