[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Tabs handled as characters and not spaces
From:       Erik Severinghaus <erik () linux ! com>
Date:       1999-11-14 21:05:22
[Download RAW message or body]

While "getting to know" the koffice code, I was writing a little
function that would make <ctrl><right arrow> move to the next word, and
began to have trouble with tabs. I decided to see how word-wrap handled
tabs, and found that it didn't. i.e. when the user types to the end of a
line, tabs, and continues typing, it wraps the first text, tab, and
second text to the next line. I'm assuming this is not the behaviour we
want. I tried changing KWFormatContext::makeLineLayout in fc.cc where it
checks for space characters to check for \t as well, but that did not
work, so I assume that \t != kword tabs. Just thought I would point this
out.

Erik

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic