Search found 1067 matches

by Rickard Johansson
25 Feb 2009 10:51
Forum: Syntax files
Topic: create fold block
Replies: 6
Views: 14162

The lines

Code: Select all

Start=__START__
End=__END__
CommentStart=//
was added to the syntax file.

Use

Code: Select all

//__START__

...

//__END__
It can be changed in the "..\AppData\RJ TextEd\Syntax\php.syx" file. But it is overwritten every time you update the program.
by Rickard Johansson
30 Jan 2009 09:05
Forum: Scripts
Topic: Script for modifying document syntax file
Replies: 1
Views: 7922

If you create and add your files to a project it's possible to use auto completion in this way. At least if the programming language uses one of the syntaxes below: Cpp CSharp Delphi/Pascal Java PHP VB .Net It may be possible to create scripts. You may need at least two. One that parse the document ...
by Rickard Johansson
20 Nov 2008 16:05
Forum: Syntax files
Topic: SCRIPT RUNAT="SERVER"
Replies: 1
Views: 6852

Should already work if you use the ASPX highlighter. The ASPX highlighter should be used if the file extension is .aspx. You can add more extensions if you need to. You can also change the highlighter manually in the toolbar. The default source language is set to C#. You can change this in options. ...
by Rickard Johansson
19 Oct 2008 16:51
Forum: Syntax files
Topic: colors??
Replies: 5
Views: 21276

Open "Environment->Options" and go to the "Highlighters" page. Use the dropdown list to select a syntax. You can now change the color of any element listed in the right list box including keywords.
by Rickard Johansson
07 Oct 2008 09:09
Forum: Scripts
Topic: PascalScript Document WideString and String functions
Replies: 1
Views: 8014

The script engine does seem to be able to handle "WideStrings" correctly even though they are handled as Variant type. Function calls seems to work as well. With both Unicode and ANSI data. Most functions available through the script engine can only handle ANSI or Unicode (UCS-2). The func...
by Rickard Johansson
26 Sep 2008 08:34
Forum: Syntax files
Topic: Framscript
Replies: 0
Views: 6000

Framscript

A syntax file for "Framscript" is available in the "Syntax" section.

The file was written by Eelke Spaak. I converted it to the new syntax file format and added a settings file.
by Rickard Johansson
10 Sep 2008 23:07
Forum: Syntax files
Topic: Actionscript?
Replies: 2
Views: 7974

An ActionScript syntax file is available on the home page http://www.rj-texted.se in the syntax files section.
by Rickard Johansson
10 Sep 2008 13:56
Forum: Syntax files
Topic: Actionscript?
Replies: 2
Views: 7974

Give me a day or so and I'll write one. I'll just convert one from an UltraEdit wordfile and add some code folding to it.
by Rickard Johansson
08 Jul 2008 11:01
Forum: Syntax files
Topic: Fold ini and inf files
Replies: 4
Views: 11329

I think a better solution would be to add an option to fold by indent (like Notepad++). This could be set in the syntax file and used with files like .boo, .ini, .reg... It will also check for the next keyword (block...) if the text have the same indention. E.g. [keyword] text=bla text=bla [keyword]...
by Rickard Johansson
01 Jul 2008 10:07
Forum: Syntax files
Topic: Fold ini and inf files
Replies: 4
Views: 11329

I'll see what I can do. We could enable the use of a wildcard (*) and maybe use something like: Id=[*] End= Notice the empty option value (End=). This would create a foldable block at the first empty line. I have desided to release a version 4.51. I'll add some small features and fix a few small iss...
by Rickard Johansson
30 Jun 2008 15:44
Forum: Syntax files
Topic: Fold ini and inf files
Replies: 4
Views: 11329

You could use regions. In the syntax file: Rgn_Start = "$START" Rgn_End = "$END" Rgn_CommentStart = ";" In code write: ;$START "This is section 1" [section] foo=bar foo=bar ;$END ;$START "This is section 2" [section] foo=bar foo=bar ;$END
by Rickard Johansson
21 May 2008 17:43
Forum: Syntax files
Topic: Making Expect syntax file
Replies: 3
Views: 9616

Functions like

Code: Select all

proc rand {n} { 
expr {int($n*rand())} 
}
should work in the next release. No option is needed. You can use the same fold options as in the C++ syntax file.
by Rickard Johansson
09 May 2008 16:01
Forum: Syntax files
Topic: Making Expect syntax file
Replies: 3
Views: 9616

The problem is the extensive use of the {} - characters. Something like this works perfectly

Code: Select all

proc rand (n) { 
expr {int($n*rand())} 
}
It might be difficult to make this work in a future version, but I'll look into it. Maybe some simple option to ignore the first {} pair after the proc statement.
by Rickard Johansson
25 Mar 2008 10:47
Forum: Syntax files
Topic: PHP syntax - comments
Replies: 1
Views: 7072

Of course. Open the file php.syx and add the line

LineCommentB=#

right under the "LineCommentA=//" line. I'll make the change in the next release.

Thanks.