Commit Graph

979 Commits

Author SHA1 Message Date
Holger Rapp
448a0a30b9 there is now only one snippet active at all times, we no longer need an array for the current snippets 2009-07-09 07:55:25 +02:00
Holger Rapp
e0f689df41 Tab selection no longer takes place inside TabStop 2009-07-09 07:50:48 +02:00
Holger Rapp
d3ab4730f9 There is now always only one active snippet, if another is launched, the current one gains an child 2009-07-08 20:08:32 +02:00
Holger Rapp
4ae53348f7 Packaged all Files into one Module 2009-07-08 09:57:55 +02:00
Holger Rapp
d25ffbe78d Removed two unneeded properties 2009-07-07 22:32:28 +02:00
Holger Rapp
2d6c5d8a76 Refactored the code in different files. This makes Stuff a bit more Readable 2009-07-07 22:28:09 +02:00
Holger Rapp
5dba8710f7 Added tests for tabstops in tabstops 2009-07-07 10:27:05 +02:00
Holger Rapp
9adaccabf1 Added a very basic fetching utility that fetches TextMate Bundle Snippets from the TextMate site and writes out a file that is compatible with us. Also added a new critical feature/bug that needs fixing: Tabstops in Default Text of Tabstops 2009-07-07 09:41:09 +02:00
Holger Rapp
3ac62a0315 The next important todos 2009-07-06 23:29:17 +02:00
Holger Rapp
09e50acae1 Added the one hundreds test with many tabstops and many mirrors 2009-07-06 23:26:01 +02:00
Holger Rapp
4bd7da28da Enhanced the class snippet 2009-07-06 23:20:19 +02:00
Holger Rapp
c7da6bde0c Pimped python snippets a bit 2009-07-06 23:09:53 +02:00
Holger Rapp
b3f7a047f8 Added a few more usefull latex snippets 2009-07-06 22:45:32 +02:00
Holger Rapp
ca9010e7bd ported some latex textmate snippets 2009-07-06 22:00:21 +02:00
Holger Rapp
ddd4a574f4 Added support for transformations in default text of tabstops 2009-07-06 21:45:30 +02:00
Holger Rapp
97315a1add Added tests for transformations in tabstop default texts. Fixed a todo in the code 2009-07-06 21:16:02 +02:00
Holger Rapp
ee882dd769 Fully implemented backspacing while tab is selected 2009-07-06 18:34:12 +02:00
Holger Rapp
8c8f3b9769 A first attempt to add the feature to backspace a default text away 2009-07-06 17:44:04 +02:00
Holger Rapp
4261a6d17a Added two more tests for the escape bug 2009-07-06 16:57:22 +02:00
Holger Rapp
fdc3c17d3f Fixed the annoying bug when directly escaping after selecting a tabstop 2009-07-06 16:55:48 +02:00
Holger Rapp
02684225a8 Added tests for leaving snippets above or below 2009-07-06 16:43:24 +02:00
Holger Rapp
d8cd3f3d08 Snippets are now dropped when cursor reached /bin/zsh 2009-07-06 11:47:27 +02:00
Holger Rapp
892db435f0 Snippet was not poppoed if it didn't contain a zero tabstop at its end 2009-07-06 11:38:19 +02:00
Holger Rapp
59015747d1 Added the beginning of latex snippets 2009-07-06 11:35:53 +02:00
Holger Rapp
52a91f17fe Only jump to the end of a snippet when there is no Zero Tabstop defined 2009-07-06 11:35:18 +02:00
Holger Rapp
531a9c174d Fixed a bug with indented single line snippets. A new line was added after them before 2009-07-06 10:40:07 +02:00
Holger Rapp
657af1a9cb Added support for exiting snippet if moved out left or right 2009-07-06 10:31:12 +02:00
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