Search found 1052 matches

by Rickard Johansson
21 Mar 2008 08:48
Forum: Scripts
Topic: Suggestions for the use of the scripts
Replies: 1
Views: 7705

I'm not sure I understood you correctly but to get the current word, you can do this:

'If the text is selected
dim s
s = Document.SelText

or

'If not selected
dim s
Document.WordLeft
Document.WordRight
s = Document.SelText
s = Trim(s) 'There may be a trailing space character here.
by Rickard Johansson
28 Feb 2008 15:07
Forum: Syntax files
Topic: PHP heredoc
Replies: 2
Views: 8400

No, you are right. The syntax doesn't handle these strings properly. It is possible to handle them if yoy use a fixed identifier. E.g. Put this in the php.syx (I asume you use v4.20 beta 1) [Block] ... 3_Name=HereDoc string 3_OnLine=No 3_AsString=Yes 3_Start<<<ID 3_End=ID Now you should be able to u...
by Rickard Johansson
26 Feb 2008 14:46
Forum: Language files
Topic: Update from v4.11 -> v4.20 b1
Replies: 0
Views: 15545

Update from v4.11 -> v4.20 b1

The file include all the changes made to the language files from v4.11 to v4.20 beta 1.

http://www.rj-texted.se/lang_update/lang_eng_420_b1.ini
by Rickard Johansson
26 Feb 2008 14:45
Forum: Language files
Topic: Update from v4.10 -> v4.11
Replies: 0
Views: 15010

Update from v4.10 -> v4.11

The file include all the changes made to the language files from v4.10 to v4.11.

http://www.rj-texted.se/lang_update/lang_eng_411.ini
by Rickard Johansson
26 Feb 2008 14:44
Forum: Language files
Topic: Update from v4.0 -> v4.10
Replies: 0
Views: 15474

Update from v4.0 -> v4.10

The file include all the changes made to the language files from v4.0 to v4.10.

http://www.rj-texted.se/lang_update/lang_eng_410.ini
by Rickard Johansson
04 Dec 2007 12:20
Forum: Scripts
Topic: Some example scripts
Replies: 3
Views: 21588

Some example scripts

Here are some example scripts published earlier in the beta forum:

http://www.rj-texted.st/downloads/Scripts.zip
by Rickard Johansson
05 Nov 2007 14:37
Forum: Syntax files
Topic: create fold block
Replies: 6
Views: 14126

It's the last ] character that makes it not work. This will though. In your syntax file add: (don't use the Fold_... options) Rgn_Start = "$REGIONSTART" Rgn_End = "$REGIONEND" Rgn_CommentStart = "//" In code write: //$REGIONSTART "This is a region" ... //$REGI...
by Rickard Johansson
05 Nov 2007 09:22
Forum: Syntax files
Topic: create fold block
Replies: 6
Views: 14126

Try this:

Rgn_Start = "[START]"
Rgn_End = "[END]"
Rgn_CommentStart = "//"
by Rickard Johansson
12 Aug 2007 14:54
Forum: Language files
Topic: Update from v3.90 to v4.0
Replies: 0
Views: 16436

Update from v3.90 to v4.0

The file include all the changes made to the language files from v3.90 to v4.0.

http://www.rj-texted.se/lang_update/lang_eng_400.ini
by Rickard Johansson
24 Jun 2007 08:03
Forum: Syntax files
Topic: How do I hook in a new syntax file?
Replies: 1
Views: 7987

Open the options dialog, go to the "Manage highlighters" page and press "New". This will open a wizard that installs the new syntax file. When done you can set the colors for keywords, strings etc. on the "Highlighters" page. The .chm help file is also no help at all. N...
by Rickard Johansson
30 Mar 2007 11:28
Forum: Language files
Topic: Update from v3.80 to v3.90
Replies: 0
Views: 16256

Update from v3.80 to v3.90

The file include all the changes made to the language files from v3.80 to v3.90.

http://www.rj-texted.se/lang_update/lang_eng_390.ini
by Rickard Johansson
22 Mar 2007 10:30
Forum: Syntax files
Topic: Parenthesis tracking
Replies: 1
Views: 8091

Thanks!

If you are using a beta version there are a few problems with PHP highlighting and PHP highlighting in html files. It might cause problems for the brace highlighter as well. It should work properly in v3.90 (final).
by Rickard Johansson
11 Nov 2006 16:53
Forum: Language files
Topic: Update from v3.72 -> v3.80
Replies: 0
Views: 15656

Update from v3.72 -> v3.80

The file include all the changes made to the language files from v3.72 -> v3.80.

http://www.rj-texted/lang_update/lang_eng_380.ini

For some the Russian additions may be easier to translate.

http://www.rj-texted/lang_update/lang_russ_380.ini
by Rickard Johansson
30 Sep 2006 09:13
Forum: Syntax files
Topic: Simulation Control Language
Replies: 2
Views: 9897

Go to {Settings -> Manage highlighters} and select "New". This will start a wizard to add the syntax to the editor. The editor needs to know what file extensions should be used with this syntax style. Don't forget to set colors and font attributes to the syntax elements, e.g. keywords, str...
by Rickard Johansson
09 Aug 2006 12:15
Forum: Syntax files
Topic: php with hypertext
Replies: 6
Views: 15480

PHP is embedded into HTML - both should be separate entities and thus have their own syntax colouring.
Well, if you put it that way it accually sound reasonable. :)