|
From: Kevin A. <al...@se...> - 2001-10-17 00:35:39
|
I fixed a bug with the font dialog that was causing it to return an incorrect family name. I found this bug while adding a font dialog to the textEditor sample. I also added a user.config.txt configuration file that is loaded and saved automatically whenever the textEditor sample is used. It remembers the last window position, size, and font. I added a simple About box that shows the char, word, and line count. Finally, I added a simplistic Find. I need a decent way of matching against whole words in the findNext method. I guess I could resort to a regular expression, but perhaps there is a better way? Suggestions anyone? I think there are some bugs related to newlines in the text, but since I'm adding onto this sample pretty quickly I haven't taken the time yet to do much bug checking. ka |