Not signed in (Sign In)

Categories

Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorJack Sleight
    • CommentTimeFeb 15th 2008 edited
     permalink

    Hey,
    This is something that’s been bugging me for a while, and I’ve not see anyone else bring up. I’m not sure if it’s a bug, or simply a limitation of the tab trigger scope feature, but if you happen to be writing CSS or JS directly into an HTML file (in a <style> or <script> block), the HTML tab triggers still get activated, so when you type “body” as your selector, or perhaps a variable name, you get a body tag which you then have to undo.

    Thanks,
    Jack

    Edit: Same thing happens with PHP blocks

  1.  permalink

    JSleight: Actually this is a feature of the selectors, since embedded CSS or JS code is still a child of the “text.html.basic” scope. There is one feature planned on this — advanced scope selectors that will enable you to add negative selector (for CSS or JS).

  2.  permalink

    That’s good. I can see the advantage, but I think I would prefer to be able to turn it off.

  3.  permalink

    JSleight: Solution for you will be to specify selector like this:

    text.html - (source.css, source.js)

  4.  permalink

    OK great!

    One other thing (unrelated, but it doesn’t really justify it’s own thread). When will you be adding in the ability to double click a word, and then on the second click drag to select more words? It’s something I really miss from other editors.

  5.  permalink

    It’s planned for one of minor updates for 0.3.5.