aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/mode_insert.coffee
AgeCommit message (Collapse)Author
2015-01-10Modes; reinstate key blockers:Stephen Blott
- when the selection is contentEditable - in PostFindMode Restricted to printable characters.
2015-01-10Modes; minor changes.Stephen Blott
2015-01-10Modes; revert to master's handling of #1415.Stephen Blott
The behaviour in the situations described in #1415 require more thought and discussion.
2015-01-10Modes; instrument for debugging...Stephen Blott
- Set Mode.debug to true to see mode activation/deactivation on the console. - Use Mode.log() to see a list of currently-active modes. - Use handlerStack.debugOn() to enable debugging of the handler stack.
2015-01-10Modes; more changes...Stephen Blott
- Better comments. - Strip unnecessary handlers for leaving post-find mode. - Simplify passKeys. - focusInput now re-bubbles its triggering keydown event.
2015-01-09Modes; fix focus return value for InsertModeTrigger.Stephen Blott
2015-01-09Modes; block unmapped keys with contentEditable.Stephen Blott
2015-01-09Modes; rework blocker for contentEditable.Stephen Blott
2015-01-09Modes; various changes...Stephen Blott
- Refactor insert-mode constructor. - Gneralise focusInput.
2015-01-09Modes; fix click handling for all "overlay" modes.Stephen Blott
From #1413... Go here: http://jsfiddle.net/smblott/9u7geasd/ In the result window: Type /Fish (do not press enter). Click in one of the text areas. Press Esc. Type aaa - you're in insert mode. Type jk - hmm, where did they go? Type o - oops, you're also in normal mode.
2015-01-08Modes; incorporate small changes from #1413.Stephen Blott
Slightly more significant: Move several utilities to dome_utils.
2015-01-08Modes; more changes...Stephen Blott
- Simplify InsertMode Trigger/Blocker (yet again). - Reduce badge flicker for singletons.
2015-01-08Modes; refactor and simplify.Stephen Blott
- Insert mode trigger and blocker. - Better comments for PostFindMode. - Better comments for FocusSelector. - Make insert mode consistent with master.
2015-01-07Modes; Continue incorporation of comments in #1413.Stephen Blott
- Slight rework of HandlerStack. - Remove classs ExitOnEscape and ExitOnBlur - Rework InsertMode, plus trigger and blocker. - Remove StateMode. - Do no mixin options. - Lots of tidy up (including set a debug variable to Mode).
2015-01-07Modes; rework Singletons, InsertModeBlocker and HandlerStack.Stephen Blott
This begins work on addressing @philc's comments in #1413. That work is nevertheless not yet complete.
2015-01-07Modes; rename ConstrainedMode as ExitOnBlur.Stephen Blott
2015-01-06Modes; simplify PostFindMode.Stephen Blott
2015-01-06Mode; simplify InsertModeBlocker logic.Stephen Blott
2015-01-06Modes; yet more minor tweeks.Stephen Blott
2015-01-06Modes; rework insert blocker.Stephen Blott
Fix bug whereby clicking on the focused element does not activate insert mode. This bug is also present (though harder to fix) in master.
2015-01-05Modes; more minor tweeks.Stephen Blott
2015-01-05Modes; simplify badge logic.Stephen Blott
2015-01-05Modes; fix findFocus.Stephen Blott
2015-01-05Modes; revise InsertMode as two classes.Stephen Blott
2015-01-04Modes; various improvements.Stephen Blott
- Add StateMode. - PasskeysMode is a StateMode. - BadgeUpdateMode is a StateMode. - Improve badge handling. - Add push method to Mode. - Document how modes work. - Cache badge on background page to reduce the number of updates. - Remove badge restriction on document.body?.tagName.toLowerCase() == "frameset". - Add ExitOnEscape mode, use it for ConstrainedMode and FindMode. - Move PostFindMode to its own file.
2015-01-03Modes; simplify PostFindMode.Stephen Blott
2015-01-03Modes; Fix various mode changes.Stephen Blott
2015-01-03Modes; fix #1410.Stephen Blott
2015-01-03Modes; more renaming and refactoring.Stephen Blott
2015-01-03Modes; refactor insert mode.Stephen Blott
2015-01-03Modes; better constant naming.Stephen Blott
2015-01-02Modes; simplify badge handling.Stephen Blott
2015-01-02Modes; fix badges.Stephen Blott
2015-01-02Modes; fix insert mode.Stephen Blott
2015-01-02Modes; rework badge handling and fix passkeys mode.Stephen Blott
2015-01-02Modes; better name for handlerStack.passDirectlyToPage.Stephen Blott
2015-01-01Modes; implement insert mode.Stephen Blott