fixed some DOS/Unix line-terminator confusion in the source files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-04-21 16:44:19 +00:00
parent 9a993e53d7
commit f70cba4b45
10 changed files with 142 additions and 126 deletions

View File

@@ -795,3 +795,5 @@ void Document::NotifyModified(DocModification mh) {
watchers[i].watcher->NotifyModified(this, mh, watchers[i].userData); watchers[i].watcher->NotifyModified(this, mh, watchers[i].userData);
} }
} }

View File

@@ -43,3 +43,5 @@ void LexerModule::Colourise(unsigned int startPos, int lengthDoc, int initStyle,
styler.ColourTo(startPos + lengthDoc - 1, 0); styler.ColourTo(startPos + lengthDoc - 1, 0);
} }
} }

View File

@@ -99,3 +99,5 @@ void Style::Realise(Surface &surface, int zoomLevel, Style *defaultStyle) {
aveCharWidth = surface.AverageCharWidth(font); aveCharWidth = surface.AverageCharWidth(font);
spaceWidth = surface.WidthChar(font, ' '); spaceWidth = surface.WidthChar(font, ' ');
} }

View File

@@ -225,3 +225,5 @@ void ViewStyle::ClearStyles() {
void ViewStyle::SetStyleFontName(int styleIndex, const char *name) { void ViewStyle::SetStyleFontName(int styleIndex, const char *name) {
styles[styleIndex].fontName = fontNames.Save(name); styles[styleIndex].fontName = fontNames.Save(name);
} }

View File

@@ -795,3 +795,5 @@ void Document::NotifyModified(DocModification mh) {
watchers[i].watcher->NotifyModified(this, mh, watchers[i].userData); watchers[i].watcher->NotifyModified(this, mh, watchers[i].userData);
} }
} }

View File

@@ -43,3 +43,5 @@ void LexerModule::Colourise(unsigned int startPos, int lengthDoc, int initStyle,
styler.ColourTo(startPos + lengthDoc - 1, 0); styler.ColourTo(startPos + lengthDoc - 1, 0);
} }
} }

View File

@@ -99,3 +99,5 @@ void Style::Realise(Surface &surface, int zoomLevel, Style *defaultStyle) {
aveCharWidth = surface.AverageCharWidth(font); aveCharWidth = surface.AverageCharWidth(font);
spaceWidth = surface.WidthChar(font, ' '); spaceWidth = surface.WidthChar(font, ' ');
} }

View File

@@ -225,3 +225,5 @@ void ViewStyle::ClearStyles() {
void ViewStyle::SetStyleFontName(int styleIndex, const char *name) { void ViewStyle::SetStyleFontName(int styleIndex, const char *name) {
styles[styleIndex].fontName = fontNames.Save(name); styles[styleIndex].fontName = fontNames.Save(name);
} }