Search found 83 matches

by jgodfrey
24 Oct 2012 01:52
Forum: Syntax files
Topic: Lua syntax file?
Replies: 3
Views: 16178

Re: Lua syntax file?

Seeing no replies, here's a hand-rolled Lua syntax setup...

Jeff
by jgodfrey
22 Oct 2012 23:49
Forum: Syntax files
Topic: Lua syntax file?
Replies: 3
Views: 16178

Lua syntax file?

Does anyone have a Lua syntax file? If not, I may create one sometime soon...

Thanks,

Jeff
by jgodfrey
12 Dec 2011 20:40
Forum: Scripts
Topic: Clean source code for email snippet
Replies: 0
Views: 7674

Clean source code for email snippet

I use Visual Studio for many of my work-related projects. In VS, I prefer to work with a "dark" UI theme, as I think it's easier on the eyes. So, my editor window has a dark background and the code text is variations of lighter colors. This works great until I have the need to cut/paste a ...
by jgodfrey
12 Dec 2011 17:49
Forum: Syntax files
Topic: AutoHotKey
Replies: 13
Views: 32505

Re: AutoHotKey

Grasping at straws here, but what happens if you: - Remove the ".ahk" extension from your highlighter (in the Add-ons dialog) - Close the dialog - Return to the Add-ons dialog and add the extension again I'm just wondering if you somehow added a control code (or other non-printable char) i...
by jgodfrey
12 Dec 2011 17:27
Forum: Syntax files
Topic: AutoHotKey
Replies: 13
Views: 32505

Re: AutoHotKey

Is it possible that you inadvertently assigned the ".ahk" extension to another highlighter while setting things up (so, it's assigned to more than one)? I've really never seen this problem, but I'm sure it's probably something simple. It's just a matter of finding it...

Jeff
by jgodfrey
12 Dec 2011 16:36
Forum: Syntax files
Topic: AutoHotKey
Replies: 13
Views: 32505

Re: AutoHotKey

Looks perfect to me. So, just to make sure I understand... Your new highlighter shows up in the main app's drop-down list and works as expected when you assign it manually, but doesn't work automatically when you open a *.ahk file - is that right? When you open an "ahk" file, does your hig...
by jgodfrey
12 Dec 2011 16:01
Forum: Syntax files
Topic: AutoHotKey
Replies: 13
Views: 32505

Re: AutoHotKey

StefanG wrote:Will try it on another machine, and let you know.
In case you missed my last post (just before Rickard's), are you sure you got the extension syntax correct?

Jeff
by jgodfrey
12 Dec 2011 15:16
Forum: Syntax files
Topic: AutoHotKey
Replies: 13
Views: 32505

Re: AutoHotKey

But nothing is happening to my ahk-files. It works when I assign it manually from the drop-down in the main window. But I have to do it each and every time, on the next re-open the very same ahk-file will have "Text-File" associated to it again. Hmmm... Are you sure you properly assigned ...
by jgodfrey
12 Dec 2011 04:40
Forum: Syntax files
Topic: AutoHotKey
Replies: 13
Views: 32505

Re: AutoHotKey

Environment | Add-ons

Select your new highlighter, click "Activate", and provide any file extensions you want to automatically associate with it.

Jeff
by jgodfrey
16 Nov 2011 17:40
Forum: Syntax files
Topic: Dash character as it relates to numbers in highlighter
Replies: 1
Views: 9853

Re: Dash character as it relates to numbers in highlighter

Not sure when this was changed, but the above example seems to work as expected in v7.72.

Jeff
by jgodfrey
16 Nov 2011 17:32
Forum: Syntax files
Topic: [Req] Support Objective-C syntax
Replies: 1
Views: 9745

Re: [Req] Support Objective-C syntax

In case you're unaware, it's entirely possible (in fact, fairly easy) to create your own syntax definition for RJTE. I'd guess that's how many of the currently supported languages found their way into the standard installation of RTJE - a User had a need, created a new syntax definition, sent it to ...
by jgodfrey
13 Oct 2011 17:29
Forum: Scripts
Topic: How to make a script "aware" of its calling context
Replies: 0
Views: 7288

How to make a script "aware" of its calling context

Hi Rickard, I'm wondering if it's possible to make a script somehow aware of the context in which it was called? Consider the following: Let's say I create a script that's capable of searching the current file either *up* or *down* from the current cursor position. Now, I'd like to wire that script ...
by jgodfrey
13 Oct 2011 17:19
Forum: Scripts
Topic: Find QB function or sub based on cursor location
Replies: 4
Views: 11694

Re: Find QB function or sub based on cursor location

So I would need to have a "Master Function" assigned to F11, and have it call the other functions based on the second keypress. Rather than assign each function to its own command key. Is that hard to do? I'm not aware of a way to do that via scripting right now, though maybe Rickard has ...
by jgodfrey
07 Oct 2011 01:48
Forum: Scripts
Topic: Find QB function or sub based on cursor location
Replies: 4
Views: 11694

Re: Find QB function or sub based on cursor location

(I suppose there could be times when SUB or FUNCTION don't start at the first character) That isn't a problem, as all leading and trailing spaces are removed from the current line before the search is performed. So, as long as SUB or FUNCTION is the first non-whitespace char (which I assume it has ...
by jgodfrey
06 Oct 2011 22:55
Forum: Scripts
Topic: Help with/for Scripting
Replies: 9
Views: 20894

Re: Help with/for Scripting

In addition to my above reply, see this topic:

http://www.rjsoftware.se/Forum/viewtopi ... =11&t=1982

Jeff