Commit Graph

757 Commits

Author SHA1 Message Date
Holger Rapp
13aadb5def $VISUAL now supports default text 2012-01-31 14:20:49 +01:00
Holger Rapp
8c9bf502f2 Fixed a bug that could happen when a whole snippet was deleted. 2012-01-31 08:12:05 +01:00
Holger Rapp
634fdeb282 Fixed two small bugs with text object positioning. 2012-01-31 07:53:43 +01:00
Holger Rapp
36cba73046 Removed a no longer needed todo 2012-01-30 20:43:49 +01:00
Holger Rapp
e34fac23ff One error in last commit 2012-01-29 17:03:11 +01:00
Holger Rapp
da71206fce Significant bug fixes for windows. 2012-01-29 16:51:22 +01:00
Holger Rapp
599f3f75fb Reformatted ChangeLog 2012-01-28 18:11:50 +01:00
Holger Rapp
26c2de0879 Updated ChangeLog with the features of 2.0 2012-01-28 18:10:06 +01:00
Holger Rapp
ee607db3be Guess when a tabstop is overwritten 2012-01-28 17:07:37 +01:00
Holger Rapp
d537d1d438 A few more tests. 2012-01-28 17:07:37 +01:00
Holger Rapp
bcf8cc8a6d Change globbing patterns for snippets to follow Vim more closely 2012-01-28 17:07:37 +01:00
Holger Rapp
5ebad7351c Fixes for Python 3 2012-01-28 17:07:37 +01:00
Holger Rapp
e69838c4bf UltiSnips should now be able to cope with formatoptions. Removed turning them off and the corresponding snippet option "f" 2012-01-28 17:07:37 +01:00
Holger Rapp
5325d3bfa4 Fixed a bug in the last commit 2012-01-28 17:07:37 +01:00
Holger Rapp
f2ce576fbd Fixed various smaller bugs I encountered 2012-01-28 17:07:37 +01:00
Holger Rapp
0f37d62f8a No longer cache the whole buffer, only the last range 2012-01-28 17:07:37 +01:00
Holger Rapp
2dc4148f0f We now require py >= 2.6 2012-01-28 17:07:37 +01:00
Holger Rapp
6226b29fb5 Added and fixed a failing test case 2012-01-28 17:07:37 +01:00
Holger Rapp
3efd38305e Fixed a bug concerning python locals.
The update order of children must be spacial, 
otherwise python codes are not executed in order
which means that locals might or might not be defined.
2012-01-28 17:07:36 +01:00
Holger Rapp
0caa5be256 Small refactoring 2012-01-28 17:07:36 +01:00
Holger Rapp
ced34ee36a Made simple insertion and deletion a little more robust 2012-01-28 17:07:36 +01:00
Holger Rapp
7ece270e3f Really removed debug output 2012-01-28 17:07:36 +01:00
Holger Rapp
4e1d340a10 Remove debug output 2012-01-28 17:07:36 +01:00
Holger Rapp
13ea92dd31 More test that I thought could make trouble. 2012-01-28 17:07:36 +01:00
Holger Rapp
e8416d868d - More cleanups and fixes 2012-01-28 17:07:36 +01:00
Holger Rapp
a4f8e12c24 VimBuffer.cursor.line is no 0 based 2012-01-28 17:07:36 +01:00
Holger Rapp
30286f5446 Introduced _vim as wrapper around vim that makes compatibility stuff transparent to users. Remove usage of vim from everywhere else. 2012-01-28 17:07:36 +01:00
Holger Rapp
c1c10b1c34 Renamed all modules to lower_case to be more PEP8y 2012-01-28 17:07:36 +01:00
Holger Rapp
c01230e2cf Moved unittests for various components into own files 2012-01-28 17:07:35 +01:00
Holger Rapp
400ac852d2 Remove Span class
It was not really in much use
2012-01-28 17:07:35 +01:00
Holger Rapp
f8d6285e49 Fix selection of tabstop when selection=exclusive 2012-01-28 17:07:35 +01:00
Holger Rapp
35439b579e Now reall all TODOs in TextObjects. Also final proofread. 2012-01-28 17:07:35 +01:00
Holger Rapp
f9566d1fc7 Remaining TODOs in TextObjects 2012-01-28 17:07:35 +01:00
Holger Rapp
08e099bacb More refactorings and cleanups. Fixed various TODOs 2012-01-28 17:07:35 +01:00
Holger Rapp
ca63cbdf57 Code cleanup and fixes
- Removed _add_tabstop function and move it to TabStop __init__
- replace initital text is now a function of snippet instance
2012-01-28 17:07:35 +01:00
Holger Rapp
89f720c91c Improved ${VISUAL} support
- make a difference between V and v selection
- Keep proper indenting even when used inside other TextObjects
2012-01-28 17:07:35 +01:00
Holger Rapp
cf2c2ff5bc Code fixes and cleanups
- Removed code duplication in transformation and mirror
- Opening the scratch buffer will reset the current snippet
- Move is now a method of Position
- Removed Position.copy method which was not used
2012-01-28 17:07:35 +01:00
Holger Rapp
fe4d0c7117 Some fixes when handling deletions 2012-01-28 17:07:34 +01:00
Holger Rapp
947b7dc3e8 Enabled normal mode editing. All tests pass but there are some errors lurking 2012-01-28 17:07:34 +01:00
Holger Rapp
36a1bc1c17 Be less clever again about Where to check for changes.
- Remove duplicate lines from last and current text. Still,
this needs to traverse the whole buffer.
- Removed functionality from VimState that had nothing
to do with 'State'.
2012-01-28 17:07:34 +01:00
Holger Rapp
2bddcdb76c Even smarter about comparision 2012-01-28 17:07:34 +01:00
Holger Rapp
a483218f70 Become a little smarter about the area that actually changed in an edit 2012-01-28 17:07:34 +01:00
Holger Rapp
7e05d49bce Refactored TextObjects.py into a package 2012-01-28 17:07:33 +01:00
Holger Rapp
59dd11690a Lots of code cleanups and smaller bug fixes
- Removed some dead code
- Added some unittests, mainly for debugging
2012-01-28 17:07:33 +01:00
Holger Rapp
5982bdf6c3 Removed a duplicate test 2012-01-28 17:07:33 +01:00
Holger Rapp
3c65e369c2 All tests pass 2012-01-28 17:07:33 +01:00
Holger Rapp
54d946c81e Recursive Snippets and various other tests 2012-01-28 17:07:33 +01:00
Holger Rapp
da6347947f More tests enabled 2012-01-28 17:07:33 +01:00
Holger Rapp
15bb3ff34b Python code 2012-01-28 17:07:33 +01:00
Holger Rapp
71b1bb687f ShellCode and VimScript Interpolation 2012-01-28 17:07:33 +01:00