Added 3 new methods to the document object in v7.63:
IsColumnModeActive(): Boolean
SetColumnMode(const bActivate: Boolean)
SetSelection(const startx,starty,endx,endy: Integer)
Search found 1007 matches
- 27 Aug 2011 18:22
- Forum: Scripts
- Topic: Scripted selections and current selection mode
- Replies: 3
- Views: 15649
- 27 Aug 2011 16:47
- Forum: Syntax files
- Topic: FORTRAN syntax file
- Replies: 18
- Views: 38860
Re: FORTRAN syntax file
Using regular expressions for code folding may seem like a good idea, but it actually doesn't help that much. You still need to match the { } characters to find the correct fold ending. So you still need to know the fold start "{" in plain text to match it properly. It might be helpful wit...
- 27 Aug 2011 15:56
- Forum: Scripts
- Topic: GetMethodAtCursor
- Replies: 3
- Views: 15603
Re: GetMethodAtCursor
Fixed in v7.63. Also added 3 new methods to the "Document" object:
CopyToClipboard()
CutToClipboard()
PasteFromClipboard()
CopyToClipboard()
CutToClipboard()
PasteFromClipboard()
- 27 Aug 2011 14:56
- Forum: Syntax files
- Topic: FORTRAN syntax file
- Replies: 18
- Views: 38860
Re: FORTRAN syntax file
YAML highlighting may be difficult to accomplice. Using external highlighters is probably not an option. Any external script need an API to work with and that API just doesn't exist.
- 27 Aug 2011 14:52
- Forum: Syntax files
- Topic: FORTRAN syntax file
- Replies: 18
- Views: 38860
Re: FORTRAN syntax file
The syntax option "OnlyLineCommentIfFirstChar" can now have 3 values in v7.63.
OnlyLineCommentIfFirstChar=2 means the line comment start character has to be the first character on the line.
OnlyLineCommentIfFirstChar=2 means the line comment start character has to be the first character on the line.
- 27 Aug 2011 14:23
- Forum: Syntax files
- Topic: Another interesting syntax highlighting challenge
- Replies: 11
- Views: 25465
Re: Another interesting syntax highlighting challenge
Added to v7.63. Please test it in the upcoming beta release.
pjj
pjj
The memo component in RJ TextEd is not a standard text component (like Rich Text Edit Control). Adding script support for highlighting would probably require some work...Rickard, what do you think?
- 27 Aug 2011 11:41
- Forum: Syntax files
- Topic: Another interesting syntax highlighting challenge
- Replies: 11
- Views: 25465
Re: Another interesting syntax highlighting challenge
I'll see if I can add support for regex in keyword identifying.
Maybe something like:
Maybe something like:
Code: Select all
[Keywords]
Normal keywords=AND|break|case|...
#Key/Value pair=[A-Z]+[0-9.\-]+
#M codes=M[0-9]+
- 27 Aug 2011 11:18
- Forum: Syntax files
- Topic: BASIC $ Keywords
- Replies: 1
- Views: 9122
Re: BASIC $ Keywords
Removing $ from symbols should work I think. You may have to test it with a few basic files.
- 20 Aug 2011 20:51
- Forum: Syntax files
- Topic: Tcl and Code Folding
- Replies: 7
- Views: 17634
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; }
- 20 Aug 2011 19:55
- Forum: Syntax files
- Topic: Tcl and Code Folding
- Replies: 7
- Views: 17634
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?
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?
- 20 Aug 2011 17:01
- Forum: Syntax files
- Topic: Tcl and Code Folding
- Replies: 7
- Views: 17634
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...
- 19 Aug 2011 14:06
- Forum: Syntax files
- Topic: python syntax - get it now! ...and a question
- Replies: 5
- Views: 15420
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 ...
- 18 Aug 2011 16:08
- Forum: Syntax files
- Topic: folding & maxscript
- Replies: 7
- Views: 21737
Re: folding & maxscript
It will be very difficult to implement. We'll see...
- 18 Aug 2011 15:56
- Forum: Syntax files
- Topic: python syntax - get it now! ...and a question
- Replies: 5
- Views: 15420
Re: python syntax - get it now! ...and a question
Try this, it should solve your problems.
- 15 Aug 2011 13:54
- Forum: External or integrated tools
- Topic: WinMerge as integrated tool
- Replies: 3
- Views: 16349
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...