Search found 5 matches

by fred
18 May 2011 15:41
Forum: Syntax files
Topic: try to add code folding for //[of]
Replies: 2
Views: 10301

Thank Rickard,
I used this:

[FoldOptions]
Separators=:

In the Options, Syntax i found why it doesn't work, removed the /
Symbols=,;.:()[]=-*^%<>#

I can live with that :)

Perhaps for the help file.
On the file tab, context menu, "Reload current document " does not refresh the Syntax definition ...
by fred
18 May 2011 11:30
Forum: Syntax files
Topic: try to add code folding for //[of]
Replies: 2
Views: 10301

try to add code folding for //[of]

I try to add folding for this kind:
Fold_Id //[of]
Fold_End //[cf]

After the open fold there is a : and text like this:
//[of]:Gui
this a code folding section
//[cf]

It works if i add by hand a space like
//[of] :Gui
and empty Symbols in the Syntax Editor.
Is there a correct setting for what i try ...
by fred
03 Nov 2009 13:38
Forum: Scripts
Topic: Randomize the lines in a file
Replies: 3
Views: 33079

Don't know if this works for you but it's a start, i don't think it will run very fast on so many lines.

// Pascal script

// Global variables
var
i, n, m: integer;
temp: WideString;

// Enter code here
begin
Randomize;
// the times you want to run it
for i := 1 to 2 do begin
for n := 0 to ...
by fred
06 Aug 2009 14:32
Forum: Scripts
Topic: Prob with ReplaceAll
Replies: 2
Views: 9236

Using TextEd 5.40 copied your script in a Pascal script and it results in this:

{"version":"1.0",
"name":"Glow",
"theme":{
"images":{
"theme_frame":"i/agxjaHJvbWV0aGVtZXNyDAsSBEZpbGUYmMsBDA",
"theme_toolbar":"i/agxjaHJvbWV0aGVtZXNyDAsSBEZpbGUY_uIBDA",
"theme_tab_background":"i ...
by fred
07 Oct 2008 08:09
Forum: Scripts
Topic: PascalScript Document WideString and String functions
Replies: 1
Views: 9374

PascalScript Document WideString and String functions

The document uses WideString and the string functions like UpperCase are String type.
I'm ony using ascii/ansi so it does not matter to me but as a Pascal/Delphi programmer i'm used using the correct type.
The Data types describes WideString as Variant and String as String type so it looks not the ...