Okay so, I have read that .INI files have become obsolete now and the .NET Framework creators want us to use .XML files. However, I feel that it would be difficult for some of my users to use .XML files so I thought of creating a custom config file.
I have a list string which has 3 parameters (it is actually the snippet function in Scintilla), like this:
Snippet.Insert("Name", "Code", 'char');
Now I want to insert all snippets from a files which the user can add himself, including the name, code and character but I have no clue about how I would do this. Maybe something like:
[Snippet1] [Snippet1Code] [Snippet1Char]
[Snippet2] [Snippet2Code] [Snippet2Char]
[Snippet3] [Snippet3Code] [Snippet3Char]
However I don't know how I would read the values that way. If someone can tell me an efficient way to read snippets from a file I would be really grateful.