So i have the Source code of 'FASTCOLOREDTEXTBOX' and i want to make my own Syntax .
So ...
what i'm trying to do :
so in the actually code its like this
i want
to read my text resource
lets be more clear my text file include some words like this :
init_file
init_do
init_x
init_x2
and to read it and paste it as a change style in the regex
So ...
what i'm trying to do :
- Read all keywords from the Resource ( .txt file )
- add it as a Changed style
so in the actually code its like this
Code
e.ChangedRange.SetStyle(BlueStyle, "\b(if|as|base|bool|break|byte|case|,|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while|add|alias|ascending|descending|dynamic|from|get|global|group|into|join|let|orderby|partial|remove|select|set|value|var|where|yield)\b|#region\b|#endregion\b")i want
to read my text resource
lets be more clear my text file include some words like this :
init_file
init_do
init_x
init_x2
and to read it and paste it as a change style in the regex


