color and syntax defintion go away on Opening
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
color and syntax defintion go away on Opening
I used a syntax definition file for the downloads section .. I created the new definition and the every thing looks good. colors are there. When I close and reopen any .cs file the colors are gone and I must reapply the syntax under View _ Document Properties... re-pick my syntax and its OK until I close and reopen .. and it repeats again... tried with several syntax files.. same issue. On reopen of serverak different text files with .cs -- the process is SAME.
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
When making configuration changes I find it best to follow these steps, especially for any changes in Classes:
1. Close all other copies of TextPad.
2. Close all open documents, INCLUDING THE DEFAULT NEW BLANK DOCUMENT.
3. Make the changes you want: Configure/Preferences/......
4. Apply and OK your way out the configurations.
5. Close TextPad.
6. Open TextPad again, and your changes should be good.
1. Close all other copies of TextPad.
2. Close all open documents, INCLUDING THE DEFAULT NEW BLANK DOCUMENT.
3. Make the changes you want: Configure/Preferences/......
4. Apply and OK your way out the configurations.
5. Close TextPad.
6. Open TextPad again, and your changes should be good.
Hope this was helpful.............good luck,
Bob
Bob
I have already followed these instructions exactly. before and after the reply. The syntax show up under Conf /Pref when u open a new text pad but any file with the .cs extension will not have the color or have the definition under the Doc Prop ..u have to reapply to get it to recognize both the syntax and the color .. then u close a still the D##m same.
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Sorry for asking about the obvious, but, I see that you updated the syntax file, but did you make a cs class and assign the syntax file to that class? Did you set the colors for that class? Important that you are working at the class level and not at the default for any documents.
Hope this was helpful.............good luck,
Bob
Bob