Menu

quicktext with tab modification release

2008-05-28
2012-11-14
  • adrian liem

    adrian liem - 2008-05-28

    greetings from surabaya,

    i just modified the quicktext plugin so it can work with tab hotkey better

    it works pretty well (at least for me) in my notepad++, so i think i'd share it here :)

    the changes: other than using tab hotkey, if the quicktext did not find the snippet from the word on the left of the cursor, it will not display any popup window, and continue to do a tab character - the normal behaviour (i switched to notepad++ just yesterday, previously i used E for quite a long time - another great software, so i changed the behaviour to be like it). also i changed the lookup selection into the characters on the left, not the whole word.

    currently i use notepad++ 4.9.2. if you want to use this modified plugin, the first thing you have to do is to turn off the tab hotkey from "Settings>Shortcut mapper>Plugin command>line 85" into something else. then change the "Replace Tab" from the line 224 into the Tab key, instead of Ctrl Enter.

    anyone who want to modify the plugin further (i suppose there should be some bugs since i don't have any background with the c++ nor scintilla codes), can recompile the source code by themselves - i already included the source code too.
    please go to http://www.microsoft.com/express/ to download the microsoft visual c express (if you don't have it yet), and i use http://scintilla.sourceforge.net/ScintillaDoc.html for the language reference. then just edit and play with the QuickText.cpp

    provided just as it is :)

    thanks for the great software.

    modified plugin URL:
    http://rapidshare.com/files/118248358/QuickText_Modif.zip.html

     
    • kib2

      kib2 - 2008-06-04

      Thanks adrian, this works like a charm.

       
    • adrian liem

      adrian liem - 2008-05-28

      just patched some hotspot (?) bugs

      the update contain only the .dll file and the quicktext.cpp file (the only modified file).

      now if only the multi-lines-indent and multi-lines-outdent could work together with this plugin ...

      URL:
      http://rapidshare.com/files/118277528/QuickTextTabUpdate.zip.html

       
    • adrian liem

      adrian liem - 2008-05-28

      my further dirty tab-quicktext patch:

      +features:
      1. non-alphanumeric-characters snippet-triggers
      2. hotspot one-time-cycle

      changes:
      1. quicktext.ini file should be using " = " instead of "=" for the delimiter

      drawback:
      1. cannot use tab to give real indentation in the hotspot cycle

      known problem:
      1. cannot use comment (character ";") in the QuickText.ini file yet

      URL:
      http://rapidshare.com/files/118372740/QuickTextTabUpdate2.zip.html