mirror of https://github.com/buggins/dlangui.git
doc fixes
This commit is contained in:
parent
48bfd312f7
commit
6968e412ea
3
dub.json
3
dub.json
|
@ -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"],
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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" }
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
|
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue