AutoHotkey Community

It is currently May 27th, 2012, 1:26 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 131 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9
Author Message
 Post subject:
PostPosted: December 30th, 2010, 7:41 am 
Offline

Joined: July 30th, 2007, 11:32 pm
Posts: 581
New version with many improvements and some new features!

Changelog wrote:
December 30, 2010

- Added support for 64-bit and Unicode AHK
- Large performance increase by tweaking comment filtering and regexes
- Added library file support for ScanFile directive
- Added user library scanning (thanks fincs!)
- Removed the dependency on RemoteBuf (functions have been inlined)
- Added iAlignFilenames (and removed bAlignFilenames which was unreliable)
- Improved reliability of middle-clicking on functions/labels
- Improved reliability of line history
- Improved caching system reliability and performance

About library file support for ScanFile directive:

Code:
If the file is in one of the library directories, simply put its name in brackets: ;TillaGoto.ScanFile=<lib>
This is useful when your script uses library functions, but you still want TillaGoto to be aware of them.

About iAlignFilenames: (it is now completely independent of bWideView)

Code:
iAlignFilenames     := 1        ;This setting is used only if iIncludeMode has the option 0x10000000. It
                                ;determines how the filenames are appended to functions/labels/hotkeys
                                ; - Set to 0 to append the filenames without any alignment (minimal GUI width)
                                ; - Set to 1 to right-align the filenames (also minimal GUI width)
                                ; - Set to 2 to left-align the filenames (GUI width might be larger)


A few things to note:
  • bFilterComments now only affects comment blocks. Comment lines are always ignored, no matter the setting of bFilterComments. There is also no more restriction upon placing line comments after a label/function/hotkey definition.
  • Performance is slightly worse for Unicode builds of AHK, due to UTF-8/UTF-16 conversions necessary as described here. It is only noticeable in very large scripts, so don't let it stop you from running TillaGoto in Unicode. Make sure you're using the latest version of AHK, which implements improvements that lessen the impact.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 30th, 2010, 12:13 pm 
Offline
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
Alright, I've updated dev S4AHK to use your latest build :)

_________________
fincs
Highly recommended: AutoHotkey_L (see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2010, 8:03 am 
Offline

Joined: July 30th, 2007, 11:32 pm
Posts: 581
I just fixed two small bugs, one of which I should have really caught during testing. :oops:

fincs wrote:
Alright, I've updated dev S4AHK to use your latest build :)

8)


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Libraries
PostPosted: March 31st, 2011, 3:17 am 
Offline

Joined: August 22nd, 2010, 8:16 am
Posts: 10
Just kidding...
Is there a way to always include certain libraries?


Report this post
Top
 Profile  
Reply with quote  
 Post subject: tag implementation
PostPosted: June 19th, 2011, 9:13 pm 
Offline

Joined: June 19th, 2011, 8:34 pm
Posts: 4
Location: Belgium
Hey TheGood (& others in this thread),

I'll start with saying I really love this script you put together, with the help of fincs, HotkeyIt & the others. It has already saved me a hell of a lot of time in writing my AHK Scripts. So, thank you therefore.


There are some question coming below, first some introductory text.

In my more complex scripts, I tend to use hashtags to be able to go quickly to predefined points in my script by using the built-in search function of Notepad++.
These are scattered throughout my file, wherever I need them. These are some of them:
    ";#BOOKMARK" to re-add the bookmarks used by the editor
    ";#SECTION: <Section Name>" to mark the begin of a section
    ";#DEBUG" to mark temporary lines
    ";#TODO: <task>" to remind myself of doing some coding there
    etc.


Lately, I figured I could try to add these to the TillaGoto list and started modifying your script. Using altered versions of the commandblocks and functions used to parse labels, I am implementing this functionality and I've come a long way.

I gathered more and more insight in your code and noticed you're treating functions and labels/hotkeys in a different way. Is there a specific reason for that?

Should I handle my custom tags like functions and create a distinct category for them, or should I just append them to the labels list, like you did with the hotkeys? Which is better for what reason? I really don't know.

On a different note, are you still developping this? If so, is there an option coming to sort the Listbox based on the line of occurence, instead of alphabetically? Can I implement that myself easily?

Also, (are you still|have you begun) working on that ISense-like functionality with the Scintilla API, that was mentioned a few pages before? I'm really interested in that one. Since the ISense project has somewhat died, it doesn't work anymore for me on the more recent builds of Notepad++ and AHK. (ISense modification is one of the reasons I need the TillaGoto functionality, following and fully interpreting that script is otherwise nearly impossible)

BTW, if it is any help: I'm on Windows 7 Ultimate 32-bit, using AHK_L v1.1 and Notepad++ 5.9.2

Kind regards,
LQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 27th, 2011, 5:09 am 
Hi, this is excellent.

I'm using Notepad++ and Is there a way to install this script as a plugin? I don't want to manually run this script everytime Notepad++ is launched. It's easy to write another script for it to run both of them but if there is a more elegant way to do it, I'd like to know. Thanks.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 27th, 2011, 7:05 am 
Offline

Joined: September 27th, 2011, 8:34 am
Posts: 124
Location: Canada, British Columbia
I like the GUI :D

_________________
My AHK user-page.

I'm new to AHK. Quickly learning though.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: April 9th, 2012, 10:55 am 
Offline

Joined: December 2nd, 2010, 11:14 pm
Posts: 214
Location: Poland
Thank you for this wonderful script. Now I don't have to sift through the code to find all of the function definitions.

Is it possible to paste function name from TillaGoto to SciTE instead of jumping to function definition? This could work as a sort of function autocompletion script then.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: April 9th, 2012, 5:22 pm 
Offline

Joined: December 2nd, 2010, 11:14 pm
Posts: 214
Location: Poland
Suggestion:
In the following example
Image
shouldn't the desired behavior be to scan the bottle1.ahk file regardless of whether the "scan function library files" flag is set in iIncludeMode? Currently, bottle1.ahk is not scanned even if .ScanFile=<> is present in the file.
The same goes with tillaGoto.ScanFile=lib\bottle1.ahk and flag to scan #include files.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: April 25th, 2012, 12:07 pm 
Offline

Joined: February 29th, 2012, 12:36 pm
Posts: 9
God bless you for this script...


Report this post
Top
 Profile  
Reply with quote  
PostPosted: April 25th, 2012, 12:27 pm 
Offline

Joined: February 29th, 2012, 12:36 pm
Posts: 9
By the way, I tried to use it with my Notepad++ to write php/js and it doesn't start when I click MButton.

With scite4ahk works pretty good.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 131 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bon and 12 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group