Commit Graph

102 Commits

Author SHA1 Message Date
Holger Rapp
8c9b393fce Change detection no longer needs to cache the complete buffer, only one char. Renamed Cursor to VimState because it also trackes BufferChanges 2009-07-06 08:22:46 +02:00
Holger Rapp
bf5b4c8290 Tabstops no longer receive text when user moved the cursor while inputting. 2009-07-05 22:25:01 +02:00
Holger Rapp
0e54082713 Further refactored unittests by moving runTest up into _VimTest. Now all non test base classes run a dummy test, which doesn't hurt so much 2009-07-05 18:51:12 +02:00
Holger Rapp
4a3821059d Further refactored test by replacing cmd function through keys variable 2009-07-05 18:46:08 +02:00
Holger Rapp
58731e251d Removed escape function int tests, added a constant for it 2009-07-05 13:20:58 +02:00
Holger Rapp
3e34086b8e Made test execution faster and also a bit more reliable. The remaining problem is the screen stuff command :/ 2009-07-05 00:53:30 +02:00
Holger Rapp
e5715d8d5e Removed some oververbose debug output 2009-07-05 00:26:19 +02:00
Holger Rapp
f1f5bb1518 Snippet updates 2009-07-04 23:32:37 +02:00
Holger Rapp
87b0c199ae A slight optimization 2009-07-04 23:15:37 +02:00
Holger Rapp
a54127268f Renabled a test that was accidentally disabled 2009-07-04 23:04:12 +02:00
Holger Rapp
f308e96832 Fixed a bug when tabstops were behind mirrors 2009-07-04 23:01:23 +02:00
Holger Rapp
4eae66c1b8 Added support for multiple defined triggers 2009-07-04 21:58:13 +02:00
Holger Rapp
0aa37bf1f7 Added support for proper indenting 2009-07-04 17:59:50 +02:00
Holger Rapp
22cc4e7f45 All snippets are dropped when user exits out to normal mode with <Esc>. Changed how tab behaves at the end of all triggers 2009-07-04 17:36:06 +02:00
Holger Rapp
b5a2e14c32 Removed a wrong TODO and fixed a mapping 2009-07-04 16:13:51 +02:00
Holger Rapp
bf35ed08fb Added support for proper startup and support for working with supertab 2009-07-04 16:08:14 +02:00
Holger Rapp
e88378c10b Fixed cursor movement when there were mirrors in front or above it 2009-07-04 15:01:19 +02:00
Holger Rapp
bd842d6ca7 Added a wrapper around Vims Cursor 2009-07-04 12:45:35 +02:00
Holger Rapp
b0653645e9 Added missing files 2009-07-04 12:15:12 +02:00
Holger Rapp
1d5a81b0c3 Before fixing cursor movement stuff 2009-07-04 12:14:13 +02:00
Holger Rapp
fcf5766388 Implemented all regular expression stuff that textmate knows about 2009-07-03 17:50:52 +02:00
Holger Rapp
bce4cb7202 added textmate like backreference and casefoldings in transformations 2009-07-03 16:13:39 +02:00
Holger Rapp
7438a73d2b Fixed a bug with one char tabstops. Began working on transformation 2009-07-03 13:54:35 +02:00
Holger Rapp
7461ad1f54 Working towards a non destructable parsing 2009-07-03 12:23:30 +02:00
Holger Rapp
7c6c726b78 Added more tests for the default mirror features 2009-07-03 12:11:09 +02:00
Holger Rapp
c767fc0dcc Added support for mirrors in TabStop defaults 2009-07-03 12:05:34 +02:00
Holger Rapp
ae6bb25104 All tests pass again. Following new features now 2009-07-03 11:46:42 +02:00
Holger Rapp
6f25b53761 All tests pass except for my Favorite :( 2009-07-03 11:39:46 +02:00
Holger Rapp
4392de37bb Everything but mirrors work now again 2009-07-03 10:59:55 +02:00
Holger Rapp
55fdbeea08 Finally fixed the multiline expansion bug. Much still remaining 2009-07-02 21:24:56 +02:00
Holger Rapp
d5d65d9d0d Made SnippetScript Python 2.3 compatible. That was easy :) 2009-07-02 19:19:47 +02:00
Holger Rapp
9272abd865 More refactoring. Moved some code from ChangeableText into a common base class 2009-07-02 16:20:13 +02:00
Holger Rapp
13b9b12934 Got rid of tabstop in mirror 2009-07-02 16:02:02 +02:00
Holger Rapp
6a24bf1bcc Some more refactoring 2009-07-02 15:45:25 +02:00
Holger Rapp
d5705c7559 Some refactoring 2009-07-02 15:41:58 +02:00
Holger Rapp
c6116f12ce Basic multiline replacing now works. all tests pass 2009-07-02 14:22:13 +02:00
Holger Rapp
907ab277df Before text replacement refactoring 2009-07-02 11:58:46 +02:00
Holger Rapp
86bbd40ea9 Trying to get multiline mirrors & tab values to work 2009-07-02 11:48:35 +02:00
Holger Rapp
f7e0624c8b Modified tests so that they test each snippet in the middle of other text. This revealed a few bugs which are fixed now 2009-07-02 09:49:42 +02:00
Holger Rapp
ad7241bc82 Refactored some more, got rid of delta_row and delta_col. Introduced Position as zero based coordinate frame 2009-07-02 08:25:58 +02:00
Holger Rapp
bf017ac7ea Some more minor refactoring. 2009-07-01 23:09:20 +02:00
Holger Rapp
fa71c6fb33 Some more minor refactoring. 2009-07-01 20:27:28 +02:00
Holger Rapp
4f6d54335f Added a test for tabstops in multiple lines 2009-07-01 20:22:12 +02:00
Holger Rapp
526617a529 Some more slight refactoring 2009-07-01 20:14:54 +02:00
Holger Rapp
36a06d1b73 Some refactorings. Mostly removing unused code 2009-07-01 20:03:29 +02:00
Holger Rapp
e8aa2885b8 All tests currently pass 2009-07-01 17:11:33 +02:00
Holger Rapp
61c059ea7f Started building in a TextObject Base class. Doing some refactoring 2009-07-01 15:29:14 +02:00
Holger Rapp
d19ddc0711 Trying to fit in Mirrors. Not so easy 2009-07-01 15:20:40 +02:00
Holger Rapp
1e3dd7b4be Tests now work through simulating input via screen. Good solution 2009-07-01 10:39:46 +02:00
Holger Rapp
1926c49f96 Intermediate state. Multiple text tabstops are already working; testing it does not work, because i can't type from a script 2009-06-28 22:22:19 +02:00