are syntax choices stored in the Registry?
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
are syntax choices stored in the Registry?
I created a new blah.syn file which I have shared with my team. Is there also a way I can share the default file associated with the syntax file, the keyword colors, etc. as well? Or is this stuff stored in the Registry?
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
The syntax file is where ever you saved it. Each user needs a copy in their folder, OR, store the syntax file on a Shared Folder, and set the TextPad settings to look in that path.
From TextPad Main Menu: Configure/Preferences/Folders and look at location for syntax to see where your version of TextPad is getting its syntax files from.
Storing the syntax file on the server means you only need to maintain one file for syntax updates to all users. You can do the same with macro and library clip files.
From TextPad Main Menu: Configure/Preferences/Folders and look at location for syntax to see where your version of TextPad is getting its syntax files from.
Storing the syntax file on the server means you only need to maintain one file for syntax updates to all users. You can do the same with macro and library clip files.
Hope this was helpful.............good luck,
Bob
Bob
I guess I did not ask the question correctly. I undestand the syntax file and the location stuff.
But once I create a new document class and select a syntax file, I can the go on the customize characteristics for that new class. Lets say colors for that new document class. Where are those color selections stored?
-Thanks, Terry
But once I create a new document class and select a syntax file, I can the go on the customize characteristics for that new class. Lets say colors for that new document class. Where are those color selections stored?
-Thanks, Terry
You are correct. All the details about the syntax colours, file extensions, fonts etc are stored in the registry.
If you are sharing the file with users of the same version of TextPad you should be able to export the registry data for them to re-import. Not an ideal solution I know.
If you are sharing the file with users of the same version of TextPad you should be able to export the registry data for them to re-import. Not an ideal solution I know.
Running TextPad 5.4 on Windows XP SP3 and on OS X 10.7 under VMWare or Crossover.
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Here is something that I do with syntax files
In sections I have chosen for special colors, I add a comment noting the color that I have selected for that syntax type. Then when the syntax file is used on a system, I can go in and set the colors on that machine to match my desired colors, I have a built in reference list in the syntax file.
Here is an excerpt:
In sections I have chosen for special colors, I add a comment noting the color that I have selected for that syntax type. Then when the syntax file is used on a system, I can go in and set the colors on that machine to match my desired colors, I have a built in reference list in the syntax file.
Here is an excerpt:
[/quote][Syntax]
;* Normal text colors = Black on White
Namespace1 = 6
IgnoreCase = Yes
InitKeyWordChars = A-Za-z_
KeyWordChars = A-Za-z/0-9_
BracketChars =
OperatorChars = >
PreprocStart =
SyntaxStart =
SyntaxEnd = >
;* Comment colors = Navy on White
CommentStart =
CommentEnd =
CommentStartAlt =
CommentEndAlt =
SingleComment = //
SingleCommentCol =
SingleCommentAlt = rem
SingleCommentColAlt =
StringStart = "
StringEnd = "
StringAlt =
StringEsc =
CharStart =
CharEnd =
CharEsc =
[Keywords 1]
;* Color = Green on White
Add
Ask
ChangeDirectory
Hope this was helpful.............good luck,
Bob
Bob