Home Download Buy Blog Forum Support

Dev Build 2154

Dev Build 2154

Postby jps on Tue Dec 27, 2011 12:00 am

Dev Build 2154 is out now, with a few more tweaks to auto complete.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2154

Postby C0D312 on Tue Dec 27, 2011 1:45 am

It's not showing up in the auto-update...
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Dev Build 2154

Postby jps on Tue Dec 27, 2011 1:49 am

Auto update should be triggered now
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2154

Postby C0D312 on Tue Dec 27, 2011 2:15 am

C0D312 wrote:Hmmm... The lastest update broke my plugin. Ironically, I believe it's from something that I requested:
Auto complete: Popup will be hidden if the word is erased


My plugin triggers autocomplete on period. In the lastest update, the autocomplete box disappears instantly. My only guess as to why is because ST2 looks at the previous character, sees it's a period and closes the autocomplete.


This is still an issue in this version. While I have a workaround in my plugin (using underscores), it is not ideal. If I may make a suggestion, you could hide the autocomplete using a macro, something like:
Code: Select all
{ "keys": ["backspace"], "command": "hide_auto_complete", "context":
    [
        { "key": "auto_complete_visible", "operator": "equal", "operand": true },

        { "key": "preceding_text", "operator": "regex_match", "operand": "[^a-zA-Z0-9]$", "match_all": true }
    ]
  },


Other than that, the autocomplete is looking pretty damn sharp. Thanks for your hard work and Happy Holidays.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 41 guests