[Pydev-cvs] org.python.pydev/tests/org/python/pydev/editor/actions PySelectionTest.java, 1.21, 1.22
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2007-01-28 17:25:54
|
Update of /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/editor/actions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv470/tests/org/python/pydev/editor/actions Modified Files: PySelectionTest.java Log Message: Index: PySelectionTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/tests/org/python/pydev/editor/actions/PySelectionTest.java,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** PySelectionTest.java 27 Jan 2007 14:18:42 -0000 1.21 --- PySelectionTest.java 28 Jan 2007 17:25:53 -0000 1.22 *************** *** 32,36 **** PySelectionTest test = new PySelectionTest(); test.setUp(); ! test.testRemoveEndingComments2(); test.tearDown(); --- 32,36 ---- PySelectionTest test = new PySelectionTest(); test.setUp(); ! test.testLineBreak(); test.tearDown(); *************** *** 443,446 **** --- 443,449 ---- compare(new Integer[]{2, 6, 9, 12}, lineOffsets); + lineOffsets = PySelection.getLineStartOffsets("\r\n\r\n\n#comment with RenFoo\r\n"); + compare(new Integer[]{0, 2, 4, 5, 27}, lineOffsets); + lineOffsets = PySelection.getLineStartOffsets("d\r\na"); compare(new Integer[]{0, 3}, lineOffsets); |