doc fixes

This commit is contained in:
gazer 2016-03-27 19:42:30 +03:00
parent 48bfd312f7
commit 6968e412ea
5 changed files with 7 additions and 6 deletions

View File

@ -25,7 +25,8 @@
"views/res/i18n" "views/res/i18n"
], ],
"-ddoxFilterArgs": ["--unittest-examples", "--min-protection=Protected", "--ex", "win32.", "--ex", "src.dlangui"], "-ddoxFilterArgs": ["--unittest-examples", "--min-protection=Protected", "--ex", "win32.",
"--ex", "dimage.", "--ex", "fontconfig", "--ex", "src.dlangui"],
"sourceFiles-windows": ["$PACKAGE_DIR/src/win_app.def"], "sourceFiles-windows": ["$PACKAGE_DIR/src/win_app.def"],

View File

@ -15,7 +15,7 @@ import dlangui.core.logger;
// use stderror for logging // use stderror for logging
setStderrLogger(); setStderrLogger();
// set log level // set log level
setLogLevel(LogLeve.Debug); setLogLevel(LogLevel.Debug);
// usage: // usage:

View File

@ -13,7 +13,7 @@ Widget layout = parseML(q{
TextLine { id: editor; text: "Some text to edit" } TextLine { id: editor; text: "Some text to edit" }
Button { id: btnOk; text: "Ok" } Button { id: btnOk; text: "Ok" }
} }
} });
---- ----

View File

@ -354,7 +354,7 @@ class Font : RefCountedObject {
* x = x coordinate to draw first character at * x = x coordinate to draw first character at
* y = y coordinate to draw first character at * y = y coordinate to draw first character at
* text = text string to draw * text = text string to draw
* colors = array of colors, colors[i] is color for character text[i] * charProps = array of character properties, charProps[i] are properties for character text[i]
* tabSize = tabulation size, in number of spaces * tabSize = tabulation size, in number of spaces
* tabOffset = when string is drawn not from left position, use to move tab stops left/right * tabOffset = when string is drawn not from left position, use to move tab stops left/right
* textFlags = set of TextFlag bit fields * textFlags = set of TextFlag bit fields

View File

@ -676,12 +676,12 @@ class EditWidgetBase : ScrollWidgetBase, EditableContentListener, MenuItemAction
return this; return this;
} }
/// when true, show modification marks for lines (whether line is unchanged/modified/modified_saved /// when true, show modification marks for lines (whether line is unchanged/modified/modified_saved)
@property bool showModificationMarks() { @property bool showModificationMarks() {
return _showModificationMarks; return _showModificationMarks;
} }
/// when true, show modification marks for lines (whether line is unchanged/modified/modified_saved /// when true, show modification marks for lines (whether line is unchanged/modified/modified_saved)
@property EditWidgetBase showModificationMarks(bool flg) { @property EditWidgetBase showModificationMarks(bool flg) {
if (_showModificationMarks != flg) { if (_showModificationMarks != flg) {
_showModificationMarks = flg; _showModificationMarks = flg;