Skip to content
Commits on Jun 20, 2011
  1. Add bindKeys function to inputManager

    committed Jun 19, 2011
    Add a function to allow binding mutiple keys at once to the input
    manager. Use this function in the core library to configure the
    defaults of the editor
Commits on Jun 18, 2011
  1. Expose the editor and display through the events

    committed Jun 18, 2011
    Expose the display and editor through the events so that users can get
    a hold to the specific instances after the editor has been
Commits on Jun 17, 2011
  1. Test the bubbling of events

    committed Jun 17, 2011
    Events triggered within the application should bubble out through the
    targetted textarea so that users of the library can bind additional
    functionality to them. Write tests to verify this behavior so it isn't
    accidentally broken later
  2. Add an s2e:repaint event

    committed Jun 16, 2011
  3. Update testing for s2e:contentsUpdate

    committed Jun 16, 2011
    Also only trigger it if the contents actually change
  4. Add move info to the s2e:movePoint event

    committed Jun 16, 2011
    The move point event now know where the point was, and where it is now
  5. Old call s2e:movePoint if the point moves

    committed Jun 16, 2011
    Previously the s2e:movePoint event would be triggered only when one of
    the methods that could result in moving the point were called. We
    actually want to call it only when the point moves
  6. Break display's dependency on textarea.

    committed Jun 16, 2011
    The more decoupled the parts of the system get, and the more they
    communicate via custom events, the better.
  7. Refactor mouse handling

    committed Jun 16, 2011
    Make the focusing on the textarea when the canvas is clicked rely on
    the same events that external code will. Also remove duplication
  8. More mouse events for the display

    committed Jun 16, 2011
    The display has custom events for mouseup and mousedown as well. These
    can be used for things like implementing selection of text.
Commits on Jun 16, 2011
  1. The start of mouse support

    committed Jun 16, 2011
    Most of the mouse features will be implemented in terms of custom
    javascript events. The display will just be responsible for catching
    the DOM mouse events and converting them to s2e mouse events with
    attributes that make using them easier
  2. Bind up and down arrows

    committed Jun 15, 2011
  3. Fix a cursor painting bug

    committed Jun 15, 2011
    The cursor wouldn't paint on the display if it was located after the
    last character of the buffer. Fix this
  4. Remove unused param

    committed Jun 15, 2011
  5. Add more keybindings by default

    committed Jun 15, 2011
    Add some of the common readline bindings
  6. Merge basic into editor

    committed Jun 15, 2011
    Now that editor is separate from core we can put all of the editing
    functions in it.
  7. Extract editor from the core jquery plugin

    committed Jun 15, 2011
    I'm continuing to refactor and reorganize the code to decrease
    coupling between the various elements. I think its almost there.
  8. Reconfigure extension points

    committed Jun 15, 2011
    Reorganize the way the display, inputmanager, etc can be accessed from
    external code
  9. Use events instead of explicit callbacks

    committed Jun 15, 2011
    Events are a more javascript-y way to do things. It also cleans up the
    code quite a bit
  10. Change insert callback to update callback

    committed Jun 15, 2011
    Also trigger it when characters are removed from the buffer
Commits on Jun 14, 2011
  1. Extract input manager tests

    committed Jun 14, 2011
    I still don't like the way its accessing the input manager object. I'm
    trying to decide how to best handle offering access to these
    objects. I can't exactly copy jQuery's testing because I'm already
    building on top of their framework. At least this works for now
  2. Move the canvas related code into the display

    committed Jun 14, 2011
    The display is specific to the fact that the editor is currently
    rendered on a canvas element, but none of the rest of the code
    is. Move all the canvas creation/display logic into the display module
  3. Add an example that tests the built version

    committed Jun 14, 2011
    The editor on this page won't work unless you run `make` first
  4. Extract the default keybindings from core

    committed Jun 14, 2011
    Core is now /almost/ just core functionality. Also update the Makefile
    so the built version works.
  5. More extraction

    committed Jun 13, 2011
    Similar to the display extract the input manager as it could (in
    theory) be handled in different ways.
    Note both this and the display need cleanup that is much more obvious
    now that they are extracted.
  6. Continue breaking out "non-core" functionality

    committed Jun 13, 2011
    The actual display implementation is removed from the core library so
    (in theory) a display that was built upon a different technology (in
    case canvas doesn't work out for this) can be swapped in.
  7. Update the build system

    committed Jun 13, 2011
    Update the build system to be much similar to jquery's. This will
    allow me to break the project into separate files and then
    build/release it as a single include. Perhaps in the future (when
    there are more modules) I will extend it to allow building with only
    /some/ of the modules included
  8. Reorganize source a bit

    committed Jun 13, 2011
Something went wrong with that request. Please try again.