Search found 122 matches
- 06 Oct 2011 18:27
- Forum: Scripts
- Topic: Help with/for Scripting
- Replies: 9
- Views: 20880
Re: Help with/for Scripting
I meant "brute force" (not hardcoding-type), rather than a more elegant solution. In some ways the docs are good. However, that doesn't help due to the proprietary nature of the implementation, so they might as well not be there at all. It's like if you got a programming language manual th...
- 06 Oct 2011 17:54
- Forum: Scripts
- Topic: Help with/for Scripting
- Replies: 9
- Views: 20880
Re: Help with/for Scripting
Thanks. I figured out the FastScript thing. But it has been 'attached' to the editor, with editor objects and methods and properties and such, which are proprietary. I figured out the Document.SelText and a couple of other things, but didn't want to do a hardcoding-type implementation. I guess Ricka...
- 06 Oct 2011 00:32
- Forum: Scripts
- Topic: Help with/for Scripting
- Replies: 9
- Views: 20880
Re: Help with/for Scripting
I found some info in help. But I can't even figure out how to do a simple search, much less a regex search. All I want to do is find the QB64 FUNCTION or SUB routine in the editor using the selected text or the word the cursor is on (or at the front or rear of) if no selection. So the regex would be...
- 05 Oct 2011 23:22
- Forum: Scripts
- Topic: Help with/for Scripting
- Replies: 9
- Views: 20880
Help with/for Scripting
Is there any help or wiki or anything for scripting? I can't find anything. There should be a STICKY at the top of this forum that gives some basic information. I wanted to write a script, so I looked at it/them, and couldn't find any information or help, and see that there are several scripting lan...
- 05 Oct 2011 07:31
- Forum: Syntax files
- Topic: Bug or corruption or something
- Replies: 3
- Views: 12770
Re: Bug or corruption or something
I assigned colors and it seems to be working now. I've been using it for awhile and no crashes or abnormalities. However , there is still no .SSX file. There are these two files: C:\Users\Ralph\AppData\Roaming\RJ TextEd\Syntax\QB64.ini C:\Users\Ralph\AppData\Roaming\RJ TextEd\Syntax\QB64.syx All of ...
- 28 Sep 2011 08:55
- Forum: Syntax files
- Topic: Bug or corruption or something
- Replies: 3
- Views: 12770
Bug or corruption or something
I don't know what's going on with my attempts at creating a syntax highlighter for QB64 (Quick BASIC). First it was causing RJTE to crash. And I never could understand what you wanted or needed me to do about that. (none of the attempts ever worked trying to get the special crash debug program to wo...
- 24 Aug 2011 13:13
- Forum: Syntax files
- Topic: BASIC $ Keywords
- Replies: 1
- Views: 9159
BASIC $ Keywords
In BASIC, there are keywords like CHR$.
Do I have to make a "$" not be a symbol for this to highlight correctly
and have the editor think that "CHR$" is the full keyword name?
I guess it doesn't matter that it won't think a '$' is not a symbol.
Do I have to make a "$" not be a symbol for this to highlight correctly
and have the editor think that "CHR$" is the full keyword name?
I guess it doesn't matter that it won't think a '$' is not a symbol.
- 24 Aug 2011 13:10
- Forum: Syntax files
- Topic: RTF Syntax Hiliter: Numeric parms "attached" to keywords
- Replies: 12
- Views: 30224
Re: RTF Syntax Hiliter: Numeric parms "attached" to keywords
Thanks. I just realized there is a new version. (I was two behind)
So I'll try it.
So I'll try it.
- 12 Jul 2011 16:08
- Forum: Syntax files
- Topic: RTF Syntax Hiliter: Numeric parms "attached" to keywords
- Replies: 12
- Views: 30224
Re: RTF Syntax Hiliter: Numeric parms "attached" to keywords
I assume there is a coloring sequence. If we could select first keywords then symbols, or first symbols then keywords, to choose which gets preference, that would be nice for some more obscure non-programming specs like RTF. That, along with an additional symbol color would be great. (two more would...
- 11 Jul 2011 23:28
- Forum: Syntax files
- Topic: multi-word keywords
- Replies: 2
- Views: 8799
Re: multi-word keywords
No official reply, but I'm going to say, "No", because SPACE characters are delimiters. (in the absolute sense) Afaik, you cannot include them as part of a keyword. Someone will correct me if I'm wrong. I can see where that might be nice in some specifications, though. Just like I could us...
- 11 Jul 2011 23:18
- Forum: Syntax files
- Topic: RTF Syntax Hiliter: Numeric parms "attached" to keywords
- Replies: 12
- Views: 30224
Re: RTF Syntax Hiliter: Numeric parms "attached" to keywords
{snip} Yeah, thanks. So what about the changes I suggested might be needed to support something like this more fully? Are those never going to happen? (maybe because they would break something) And I'm guessing "symbol characters" are not allowed as "keywords". Or if they are, t...
- 11 Jul 2011 18:21
- Forum: Syntax files
- Topic: RTF Syntax Hiliter: Numeric parms "attached" to keywords
- Replies: 12
- Views: 30224
Re: RTF Syntax Hiliter: Numeric parms "attached" to keywords
This is what I have now: (I removed most of the Control Words keywords below because there are about 1500 of them) ;{$RTF;rtf.syx} [Keywords] Control Words=ab|absh|abslock|absnoovrlp|absw|acaps|acccircle|acccomma|accdot|accnone|accunderdot|acf|adeff|additive|adeflang|adjustright|adn|aenddoc| Special...
- 11 Jul 2011 18:13
- Forum: Syntax files
- Topic: RTF Syntax Hiliter: Numeric parms "attached" to keywords
- Replies: 12
- Views: 30224
Re: RTF Syntax Hiliter: Numeric parms "attached" to keywords
I tried making {, }, \, and \* Keywords, and that works (kind of), as long as {, }, and \, are not set as Symbols, which overrides the Keyword colors. Also, if you remove {, }, and \ from Symbols, it stops showing the Control Word keywords, I suppose because they are not delimited by Symbols then (\...
- 11 Jul 2011 17:50
- Forum: Syntax files
- Topic: RTF Syntax Hiliter: Numeric parms "attached" to keywords
- Replies: 12
- Views: 30224
Re: RTF Syntax Hiliter: Numeric parms "attached" to keywords
I went ahead and made the Syntax file for RTF and it seems to be working the way I thought it would, unless there is something I can do. Here is what I have so far. http://www.donnelly-house.net/temp/rtfsyntax.png As you can see, the keywords without appended numeric values are showing in Blue, but ...
- 10 Jul 2011 11:54
- Forum: Syntax files
- Topic: RTF Syntax Hiliter: Numeric parms "attached" to keywords
- Replies: 12
- Views: 30224
RTF Syntax Hiliter: Numeric parms "attached" to keywords
I couldn't find any info about my question anywhere. In RTF files, numeric parameters are appended to the end of Control Words without any symbols or whitespace. So, for example, if the keyword is ri (right indent), there is a numeric value attached to that for a value in Twips, like: \ri1260 Before...