aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
2015-02-02Visual/edit modes: WIP, scrolling content editable.Stephen Blott
2015-02-02Visual/edit modes: escape in visual mode clears selection.Stephen Blott
2015-02-02Visual/edit modes: WIP, scrolling content editable.Stephen Blott
2015-02-01Resize HUD so the contents are fully visiblemrmr1993
2015-02-01Visual/edit modes: tweaks...Stephen Blott
- Collapse to focus when entering caret mode from visual mode.
2015-02-01Visual/edit modes: fine-tune entry/exit logic.Stephen Blott
- When the user exits visual mode via escape, we reinstall the original selection (from launch).
2015-02-01Visual/edit modes: yet another code review.Stephen Blott
2015-01-31Visual/edit modes: exit visual mode on click in input element.Stephen Blott
2015-01-31Visual/edit modes: character-by-character word movements.Stephen Blott
2015-01-31Visual/edit modes: change implementation of vimword.Stephen Blott
2015-01-31Visual/edit modes: change visual-mode start up...Stephen Blott
When visual mode launches and there *is* a selection but it's outside of the viewport, instead of scrolling it into view, ignore it, and start with a visible caret.
2015-01-31Revert "Fix scrolling issue."Stephen Blott
This reverts commit 90d2addc9b8f95f9272f8c2a77bdaf9dfebc0fa8. Nope. This is bad. It fixes the issue referred to in the commit record, but breaks scrolling out of text areas. With 90d2addc9b8f95f9272f8c2a77bdaf9dfebc0fa8: - Start editing in a text area, add enough text that it scrolls. - `Escape` - `k`, `k`, `k`, ... We expect first the text areas to scroll, then -- when it reaches the top -- the document to scroll. However, with 90d2addc9b8f95f9272f8c2a77bdaf9dfebc0fa8, we get stuck in the text area.
2015-01-31Fix scrolling issue.Stephen Blott
On this page: - http://www.steephill.tv/dubai-tour/ I was seeing a scrolling problem in my live browser (j/k didn't work until I clicked on the page), but couldn't reproduce it directly in my test browser. That's worrying. Nevertheless, what was happening was that we succeeded in scrolling a test amount in one direction, but the scroll to revert failed. The consequence was that we concluded (incorrectly) that the element doesn't scroll. And j/k scrolling is broken as a result. How can it be that a scroll in one direction succeeds, but the reverse does not? This fixes the problem by not checking whether we are able to undo the scroll of our test amount.
2015-01-31Visual/edit modes: rework lexical selection...Stephen Blott
- And drop "J".
2015-01-30Visual/edit modes: re-introduce "dap".Stephen Blott
2015-01-30Visual/edit modes: better "yy", "dd", an so on.Stephen Blott
2015-01-30Visual/edit modes: better "2daw", an so on.Stephen Blott
2015-01-30Visual/edit modes: fix bug entering visual mode from edit mode.Stephen Blott
2015-01-30Visual/edit modes: another minor code review.Stephen Blott
2015-01-30Visual/edit modes: correctly suppress backspace/delete.Stephen Blott
2015-01-30Visual/edit modes: handle "0" as count prefix, when appropriate.Stephen Blott
2015-01-30Visual/edit modes: better find-mode integration.Stephen Blott
2015-01-30Visual/edit modes: miscellaneous improvements....Stephen Blott
- better definition of vimword. - fix initial selection as just one character when entering caret mode. - fix initial caret when entering visual mode from edit mode. - better selectLine. - "o" and "Y" are commands for visual mode, not movements. - simplify find mode within visual mode. - add FindMode binding for "/".
2015-01-29Visual/edit modes: initial caret mode.Stephen Blott
2015-01-29Visual/edit modes: more changes...Stephen Blott
- Simplify the SuppressPrintable key handler. - Rework the protectClipboard logic. - Some commands (x, X, etc) never affect the clipboard.
2015-01-29Visual/edit modes: fix key suppression.Stephen Blott
2015-01-29Visual/edit modes: really fix restore of insert-mode sub mode.Stephen Blott
2015-01-29Visual/edit modes: fix restore of insert-mode sub mode.Stephen Blott
2015-01-29Visual/edit modes: fix broken due to stray uncommented comment.Stephen Blott
2015-01-29Visual/edit modes: fix w movement for contentEditable.Stephen Blott
It turns out we need to check different properties of the selection in order to correctly detect when the selection has changed in contentEditable elements.
2015-01-28Visual/edit modes: fix some movements...Stephen Blott
Also, change how vim's "w" is implemented. Also some code-review/cleanup. Better dd and yy for gmail.
2015-01-28Visual/edit modes: yet more minor changes.Stephen Blott
- Use a has for singletons (as it was previously), but with a distinct identity generated by Utils.getIdentity. - Fix counts not be using in a number of places.
2015-01-28Visual/edit modes: minor changes...Stephen Blott
- Minor refactoring. - Better selection of entity for "daw" an friends. - dd uses count, and works for empty lines. - Count for daw, etc. - Fix bug whereby selection cleared when changing tabs.
2015-01-27Visual/edit modes: minor changes.Stephen Blott
- Minor changes. - Deactivate modes on inputs from focusInput().
2015-01-27Visual/edit modes: self code review.Stephen Blott
2015-01-27Visual/edit modes: miscellaneous changes.Stephen Blott
- Various argument forms for runMovement. - Better visual line mode line selection. - Include preceding white space for "daw" and friends. - Vim-like handling of "2d3w" - count is six".
2015-01-27Visual/edit modes: better word-movement/"w".Stephen Blott
2015-01-27Visual/edit modes: minor changes.Stephen Blott
2015-01-26Visual/edit modes: "P" and "p" to copy-and-go.Stephen Blott
2015-01-26Visual/edit modes: minor improvements.Stephen Blott
2015-01-26Visual/edit modes: fix problem resuming entering visual line mode.Stephen Blott
2015-01-26Visual/edit modes: fix problem resuming insert mode.Stephen Blott
2015-01-26Visual/edit modes: better recovery after focus change.Stephen Blott
If we're in edit mode and the user changes tab, we lose the focus. That causes edit mode (and any sub mode like visual mode) to exit. When we return, we're in insert mode! With this commit, we save the state, and restore it when appropriate.
2015-01-26Visual/edit modes: minor changes.Stephen Blott
2015-01-26Visual/edit modes: "x" and entity moves ("daw", "cas", etc.)Stephen Blott
2015-01-25Visual/edit modes: miscellaneous improvements.Stephen Blott
2015-01-25Visual/edit modes: enter insert mode directly.Stephen Blott
2015-01-25Visual/edit modes: establish an initial selection.Stephen Blott
2015-01-25Visual/edit modes: miscellaneous changes.Stephen Blott
2015-01-25Visual/edit modes: better mode changes on blur/focus.Stephen Blott