Workaround for line wrap?
Posted: Fri May 04, 2001 9:16 am
When I turn line wrap (or, actually, word wrap) on, Paddy will break up lines that are too long, but not in the middle of words. Fine. But then I discover that expressions inside single quotes are not broken either, even not between words. I have a 190-character long line with single quotes that's not being wrapped after character 116, which is the last character I see on my screen. Instead, it is broken at 179, which is the last whitespace character on that line. The characters 117 - 179 remain invisible, outside my screen, and the only way I may see them is by turning word wrap off (I may access them, though). This... bugish behaviour repeats itself in several lines.
I tried copying the whole sequence into a new document that has also word wrap turned on, and the line wrap worked like it should. But then I saved this new document, and suddenly, the odd behaviour was back.
I have figured out what was wrong. The problem is these two lines in the syntax definition file:
CharStart = '
CharEnd = '
This setting conflicts with the word wrap function. Does anyone know a workaround for this (so that I may keep word wrap turned on, keep single quotes as character markers, and still see the whole line)?
Regards,
HY
I tried copying the whole sequence into a new document that has also word wrap turned on, and the line wrap worked like it should. But then I saved this new document, and suddenly, the odd behaviour was back.
I have figured out what was wrong. The problem is these two lines in the syntax definition file:
CharStart = '
CharEnd = '
This setting conflicts with the word wrap function. Does anyone know a workaround for this (so that I may keep word wrap turned on, keep single quotes as character markers, and still see the whole line)?
Regards,
HY