Better handling of spaces and line breaks in files
Former-commit-id: a3e47eb122cfbfc847f7aa324f0f9f7486f08d04
This commit is contained in:
parent
6b761321f0
commit
f8dda8d21a
@ -451,7 +451,7 @@ class MainWindowReader(QtGui.QMainWindow, gen.reader_ui.Ui_MainWindowReader):
|
||||
if lengthMatched <= 0:
|
||||
break
|
||||
lengthSelect += 1
|
||||
if c != u'\n':
|
||||
if c not in [u'\n', u' ', u' ']:
|
||||
lengthMatched -= 1
|
||||
|
||||
cursor.setPosition(samplePosStart, QtGui.QTextCursor.MoveAnchor)
|
||||
|
Loading…
Reference in New Issue
Block a user