Search found 1045 matches

by Rickard Johansson
27 Aug 2011 11:18
Forum: Syntax files
Topic: BASIC $ Keywords
Replies: 1
Views: 9157

Re: BASIC $ Keywords

Removing $ from symbols should work I think. You may have to test it with a few basic files.
by Rickard Johansson
20 Aug 2011 20:51
Forum: Syntax files
Topic: Tcl and Code Folding
Replies: 7
Views: 17674

Re: Tcl and Code Folding

Yes that will work. It's already does in other programming languages e.g. with functions like in C++

Code: Select all

int myAdd(int x) { return 10*x; }
by Rickard Johansson
20 Aug 2011 19:55
Forum: Syntax files
Topic: Tcl and Code Folding
Replies: 7
Views: 17674

Re: Tcl and Code Folding

Not without adding some kind of fold option.

To make it work is it safe to:

1. Always ignore { ... } on the same line?

2. Or assume the last { on the same line (or first on the next) is the beginning of a fold?
by Rickard Johansson
20 Aug 2011 17:01
Forum: Syntax files
Topic: Tcl and Code Folding
Replies: 7
Views: 17674

Re: Tcl and Code Folding

It's difficult because {} is used to enclose conditions, parameters... But maybe something like this: [Fold] 1_Id=proc 1_Begin= 1_End= 1_EndBefore=\in 1_Section= 1_NoParentOfId=0 1_NotAlwaysEnded=0 1_ListItem=ceMethod 2_Id=foreach 2_Begin= 2_End= 2_EndBefore=\in 2_Section= 2_NoParentOfId=0 2_NotAlwa...
by Rickard Johansson
19 Aug 2011 14:06
Forum: Syntax files
Topic: python syntax - get it now! ...and a question
Replies: 5
Views: 15453

Re: python syntax - get it now! ...and a question

Actually, the highlighting is correct since pass is on the last line and both the start and end portion of the fold is highlighted. I need a color file "python.ssx". You can create one by setting all colors in options (Highlighters) and click on the export button to save the color file. I ...
by Rickard Johansson
18 Aug 2011 16:08
Forum: Syntax files
Topic: folding & maxscript
Replies: 7
Views: 22481

Re: folding & maxscript

It will be very difficult to implement. We'll see...
by Rickard Johansson
18 Aug 2011 15:56
Forum: Syntax files
Topic: python syntax - get it now! ...and a question
Replies: 5
Views: 15453

Re: python syntax - get it now! ...and a question

Try this, it should solve your problems.
by Rickard Johansson
15 Aug 2011 13:54
Forum: External or integrated tools
Topic: WinMerge as integrated tool
Replies: 3
Views: 17093

WinMerge as integrated tool

WinMerge is a great tool if you need to compare different versions of a file or just compare two documents. It should be added in the "Integrated tools" page in options though and not as an external tool. Here is were you can find it: http://winmerge.org/ Add it in "Options -> Integra...
by Rickard Johansson
09 Aug 2011 14:02
Forum: Syntax files
Topic: Converting UltraEdit wordfiles for RJ TextEd
Replies: 2
Views: 8710

Re: Converting UltraEdit wordfiles for RJ TextEd

Open the syntax editor and use import. You still may have to make some changes yourself though, like support for code folding etc.
by Rickard Johansson
18 Jul 2011 13:02
Forum: Syntax files
Topic: RTF Syntax Hiliter: Numeric parms "attached" to keywords
Replies: 12
Views: 29868

Re: RTF Syntax Hiliter: Numeric parms "attached" to keywords

Added a solution in the next version using something called "SymbolWords". Think of them as arrays with values separated by spaces. Each value has to have the same width. You can use up to 3 symbol word arrays with different value sizes. All symbols used must also exist in the "Symbol...
by Rickard Johansson
12 Jul 2011 16:24
Forum: Syntax files
Topic: RTF Syntax Hiliter: Numeric parms "attached" to keywords
Replies: 12
Views: 29868

Re: RTF Syntax Hiliter: Numeric parms "attached" to keywords

If you haven't already, install v7.50. Modify the lines below in your syntax file

Code: Select all

[Options]
Symbols=.,<>?!#%/()=+-[]\{};0123456789
Numbers=0123456789
and use a different color for symbols and numbers. You don't have to use the same color for \ and numbers.
by Rickard Johansson
12 Jul 2011 10:04
Forum: Syntax files
Topic: multi-word keywords
Replies: 2
Views: 8799

Re: multi-word keywords

The official reply is "No". But it seems to me you should be able to make it fairly readable anyway using different colors for keywords, e.g.

ip access-list standard
ip access-list extended
by Rickard Johansson
12 Jul 2011 09:52
Forum: Syntax files
Topic: RTF Syntax Hiliter: Numeric parms "attached" to keywords
Replies: 12
Views: 29868

Re: RTF Syntax Hiliter: Numeric parms "attached" to keywords

In v7.50 final this should work: [Options] Symbols=.,<>?!#%/()=+-[]\{};0123456789 Numbers=0123456789 Numbers are treated as symbols but highlighted as numbers. Numbers are also recognized as numbers before, or after, keywords. E.g. marg10 could be highlighted as marg 10 . Doing this for numbers is e...
by Rickard Johansson
11 Jul 2011 18:58
Forum: Syntax files
Topic: RTF Syntax Hiliter: Numeric parms "attached" to keywords
Replies: 12
Views: 29868

Re: RTF Syntax Hiliter: Numeric parms "attached" to keywords

It's difficult to improve much, but this isn't so bad... ;{$RTF;rtf.syx} [Keywords] Control Words=ab|absh|abslock|absnoovrlp|absw|acaps|acccircle|acccomma|accdot|accnone|accunderdot|acf|adeff|additive|adeflang|adjustright|adn|aenddoc| [Options] Symbols=.,<>?!#%/()=+-[]\{};0123456789 Numbers= AddProj...
by Rickard Johansson
11 Jul 2011 17:57
Forum: Syntax files
Topic: RTF Syntax Hiliter: Numeric parms "attached" to keywords
Replies: 12
Views: 29868

Re: RTF Syntax Hiliter: Numeric parms "attached" to keywords

Could you send me the syntax *.syx file or display it here in the forum?