selections=old breaks UltiSnips
Bug #1132315 reported by
reckoner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UltiSnips |
Confirmed
|
Low
|
Unassigned |
Bug Description
This is for python 2.7 on windows 7. VIM version 7.3.
In a TeX file (using tex.snippets), the problem is that completing
b<tab>
yields
\begin{something}
\end{something}
as expected. But the initial cursor position is right on top of the closing brace on the \begin line. The problem with this is that
when you start typing, it does not fill out the fields properly. You have to move the cursor over one character and THEN begin typing to get the snippet to complete properly.
Any help appreciated!
To post a comment you must log in.
Here's the test.py output:
--- ======= ======= ======= ======= ======= ======= ======= ======= ======= pets_MultiWord_ UnmatchedContai ner) ------- ------- ------- ------- ------- ------- ------- ------- ------- vimfiles\ UltiSnips- 2.2\test. py", line 239, in runTest vimfiles\ UltiSnips- 2.2\test. py", line 237, in check_output assertEqual( self.output, wanted)
=======
FAIL: runTest (test.ParseSnip
-------
Traceback (most recent call last):
File "C:\vim\
def runTest(self): self.check_output()
File "C:\vim\
self.
AssertionError: " --- some text before --- \n\n\tnv snip\t\n\n --- some text aft
er --- \nUltiSnips: Invalid multiword trigger: '!inv snip/' in test_file(2)" !=
" --- some text before --- \n\ninv snip\t\n\n --- some text after --- \nUltiSnip
s: Invalid multiword trigger: '!inv snip/' in test_file(2)"
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= e_IndentNoetSwT s) ------- ------- ------- ------- ------- ------- ------- ------- ------- vimfiles\ UltiSnips- 2.2\test. py", line 239, in runTest vimfiles\ UltiSnips- 2.2\test. py", line 237, in check_output assertEqual( self.output, wanted)
FAIL: runTest (test.PythonCod
-------
Traceback (most recent call last):
File "C:\vim\
def runTest(self): self.check_output()
File "C:\vim\
self.
AssertionError: ' --- some text before --- \n\n hi\n i1\n i2\ni0\n i1
\n End\n\n --- some text after --- ' != ' --- some text before --- \n\n hi\n
i1\n\t i2\ni0\n i1\n End\n\n --- some text after --- '
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= e_MultiAppendSh ift) ------- ------- ------- ------- ------- ------- ------- ------- ------- vimfiles\ UltiSnips- 2.2\test. py", line 239, in runTest vimfiles\ UltiSnips- 2.2\test. py", line 237, in check_output assertEqual( self.output, wanted) thi\n\ti1\ n\ti1\n\ t\ti2\ t\ti3\n\ tEnd\n\ n --- some text after --- '
FAIL: runTest (test.PythonCod
-------
Traceback (most recent call last):
File "C:\vim\
def runTest(self): self.check_output()
File "C:\vim\
self.
AssertionError: ' --- some text before --- \n\n\n hi\n i1\n
i1\n i2\ni0\n i3\n End\n\n --- som
e text after --- ' != ' --- some text before --- \n\n\n\
ni0\n\t\
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= e_MultiAppendSh iftMethods) ------- ------- ------- ------- ------- ------- ------- ------- ------- vimfiles\ UltiSnips- 2.2\test. py", line 239, in runTest vimfiles\ UltiSnips- 2.2\test. py", line 237, in check_output assertEqual( self.output, wanted) thi\n\ti1\ n\ti1\n\ t\ti2\ t\ti3\n\ tEnd\n\ n --- some text after --- '
FAIL: runTest (test.PythonCod
-------
Traceback (most recent call last):
File "C:\vim\
def runTest(self): self.check_output()
File "C:\vim\
self.
AssertionError: ' --- some text before --- \n\n\n hi\n i1\n
i1\n i2\ni0\n i3\n End\n\n --- som
e text after --- ' != ' --- some text before --- \n\n\n\
ni0\n\t\
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= e_ResetIndent) ------- ------- ------- ------- ------- ------- ------- ------- -------
FAIL: runTest (test.PythonCod
-------
Traceback (most recent call last):
File...