Search found 1066 matches

by Rickard Johansson
18 Oct 2009 12:55
Forum: Scripts
Topic: Actual Language (English/German/etc.)
Replies: 2
Views: 9739

Added a script function in v5.71 to get the current language file name

MainApp.GetCurrentLanguageFileName(): WideString;

Hope that will help!
by Rickard Johansson
25 Aug 2009 16:41
Forum: Syntax files
Topic: VBScript On Error
Replies: 1
Views: 7218

I've added a new fold item:

Id = Resume
End = Next

Since both "Resume" and "Next" are on the same line, the fold items are ignored.
by Rickard Johansson
16 Aug 2009 13:39
Forum: Scripts
Topic: How do I access the Canvas in Javascript?
Replies: 1
Views: 7672

Here is one: // Global variables var f, b; function ButtonClick(Sender) { DrawInCanvas("Hello World!"); } function DrawInCanvas(s) { f.Canvas.Font.Height = 24; f.Canvas.TextOut(100,80,s); var h = f.Canvas.TextHeight("Tg"); var w = f.Canvas.TextWidth(s); f.Canvas.Pen.Color = clRed...
by Rickard Johansson
07 Jul 2009 15:03
Forum: Language files
Topic: Polish localization of RJ TextEd v.5.30
Replies: 2
Views: 21732

The language file is included and installed with v5.40 beta 1.
by Rickard Johansson
06 Jul 2009 18:13
Forum: Scripts
Topic: Create code for Contenido-container
Replies: 3
Views: 11328

You have to use d.InsertText("\r\n");

So,

s = "row1\r\nrow2\r\nrow3\r\n";
d.InsertText(s);

should work.
by Rickard Johansson
05 Jul 2009 13:32
Forum: Language files
Topic: Update from v5.30 to v5.40
Replies: 0
Views: 18187

Update from v5.30 to v5.40

[Menu] 1041=Open &File at Cursor 2022=H&ighlight 3034=F&ull Screen Mode 3035=Show Tabs 4037=Sort... [Hints] 058=Save As... 059=Save as Template... 060=Print Preview... 061=Print... 062=Delete 063=Smart Paste 064=Column Mode 065=Word wrap 066=Toggle Hex View 067=Open a command prompt... 0...
by Rickard Johansson
25 Jun 2009 21:54
Forum: Syntax files
Topic: Highlighting comments
Replies: 1
Views: 6914

Not at the moment. I may add something in a later version.
by Rickard Johansson
08 May 2009 13:59
Forum: Syntax files
Topic: Create Foldblock for T-SQL
Replies: 6
Views: 14355

I guess I made a small change somewhere in the folding code, but I can't remember where right now... I'm glad it works now :D
by Rickard Johansson
29 Apr 2009 16:54
Forum: Syntax files
Topic: ConTEXT syntax files
Replies: 1
Views: 7448

You can convert them manually, copy and paste or maybe using some clever macros. Or you could create a script to convert them.

You may still need to do some editing in the syntax editor.
by Rickard Johansson
27 Apr 2009 08:31
Forum: Syntax files
Topic: Code explorer methods shown as "Other"
Replies: 4
Views: 10804

You could try this:

Code: Select all

BlockName = Modifiers ?
BlockOnLine = Yes
BlockAsString = Yes
BlockStart = /
BlockEnd = <empty>

and

EndOpenBlockAt = 0123456789+-*/\=[]();:.,'"
It may give some strange highlighting at times, e.g. appinfo will be highlighted in $path/appinfo.json
by Rickard Johansson
26 Apr 2009 20:52
Forum: Syntax files
Topic: Code explorer methods shown as "Other"
Replies: 4
Views: 10804

Enter

Fold_begin {
Fold_end }
Fold_List_item <empty>

and enter something in List_Exclude=<string>|<string>...

For some reason List_Exclude need at least 1 string for it to work :D
by Rickard Johansson
25 Apr 2009 18:26
Forum: Syntax files
Topic: Create Foldblock for T-SQL
Replies: 6
Views: 14355

I just tried to add this to the SQL syntax: [Fold] 1_Id=if 1_Begin=begin 1_End=end 1_EndBefore= 1_Section= 1_NoParentOfId=0 1_ListItem= 2_Id=case 2_Begin= 2_End=end 2_EndBefore= 2_Section= 2_NoParentOfId=0 2_ListItem= I used the syntax editor and RJ TextEd v5.01. The code if @i != 0 begin set @state...
by Rickard Johansson
21 Apr 2009 21:07
Forum: Syntax files
Topic: Create Foldblock for T-SQL
Replies: 6
Views: 14355

Try to set the fold option for "case" to

FoldID=case
FOLD_BEGIN=
FOLD_END=end
by Rickard Johansson
27 Feb 2009 23:03
Forum: Syntax files
Topic: Python
Replies: 1
Views: 7302

Try to open a UltraEdit wordfile in the syntax editor. You may have to make some changes though.
by Rickard Johansson
25 Feb 2009 10:51
Forum: Syntax files
Topic: create fold block
Replies: 6
Views: 16003

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.