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:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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, ' ');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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, ' ');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user