Not signed in (Sign In)

Categories

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

  1.  permalink

    I’ve just finished one of the most powerful features planned for Newcastle-branch releases. I call it Keyboard Sequencer, that is responsible for listening for key strokes and invoking commands. It can actually do a lot of magic due to it’s current scheme of

    • capturing the keys allows it to capture and recognize key sequences like [ Ctrl+K, Ctrl+R ], or [ Ctrl, Ctrl+E ], or magic like [ Alt, Alt, Alt ]
    • global UI scoping (each widget is part of the scope path, like app.global (for main window), app.dock.tabs (for tabs), app.editor (for editing component), text.html, tag.html,... app.menu.context (for context menu launched over a document)

    AFW is using this for all of it’s internal commands (like F2 in all tree controls). Intype application can actually define any command (native, or JS) for any named widget, so users will have the same power to create the JS commands to use JS API possibilities to extend commands for any part of the UI. Can you help us with ideas on how the key sequences can be used, except for classic two-level namespaces?

    •  
      CommentAuthordflock
    • CommentTimeMay 7th 2008
     permalink

    I can see that this would allow people to define (and/or you to ship) different hot-key setups for Intype, to allow Intype to emulate the key-command setups of other editors such as vim, emacs, Visual Studio/Microsoft, Brief etc…

    • CommentAuthormvm
    • CommentTimeMay 7th 2008 edited
     permalink

    Can’t add something on topic to dflock’s comment, some experimentation needed.

    Maybe it is reasonable to create Mouse Sequencer? This would allow users to redefine mouse button clicks and dragging and for example get things like in plan9’s acme: selection with middle button executes selection, selection with right button searches for next occurence of selection in the current file, or loads file with this name etc. And “chords”: after selecting text, with button 1 still down, pressing button 2 executes Cut and button 3 executes Paste… I understand that it’s not for everybody.

  2.  permalink

    Well, actually yes, Mouse Sequencer is part of the game, but it will be implemented a little later.

    •  
      CommentAuthorbaael
    • CommentTimeMay 10th 2008 edited
     permalink

    ooh, great features!

    i catch myself on using only keyboard as much as i can, so, even many of tasks i run from keyboard, when i’m writing some code, in fury i can’t catch mouse in hand it is too far from hand ;)

    and i totally agree with dflock also customizing key sequences in intype to run any command outside will be great.

    this mean, that i will only need php/ruby+lighttpd+intype on my portable device to do fast anything i need

    •  
      CommentAuthordflock
    • CommentTimeMay 11th 2008
     permalink

    I’m sure that there’s lots of other cool things you could do with this which I haven’t thought of – I just mentioned the first thing that occurred to me – anyone got any better ideas?