Andru: Thank you for your answer! The custom caption will be optional. So, the user will be able to change between the custom and the standard caption style.
I will take a look to the design of "Lazarus Preferences" window.
Quote Originally Posted by Andru
as I understand editor support UTF-8, but only if there is a BOM code at start of file, it will be a good idea to have option for default encoding somewhere in preferences
It is the first time I'm dealing with this issue. I wasn't even thinking about this issue.
Do you think this will solve:
Instead of use the component SaveDialog, I will put SaveTextFileDialog, which allows to choice between the formats. And, according to the selected format, I will use the function
Code:
TStrings.SaveToFile(Name : String; Encoding : TEncoding);
?