From 291b4f5da2f98283b7c98ee90401df7c3cb34dad Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 22 Mar 2025 14:06:03 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- src/modules/objects/class_multilineedit.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/modules/objects/class_multilineedit.cpp') diff --git a/src/modules/objects/class_multilineedit.cpp b/src/modules/objects/class_multilineedit.cpp index 9ee232b..ac8ce39 100644 --- a/src/modules/objects/class_multilineedit.cpp +++ b/src/modules/objects/class_multilineedit.cpp @@ -106,9 +106,9 @@ static int mod_cod[] = { Sets the editor to be read-only if bReadOnly is 1 or removes the read-only status is ReadOnly is 0 !fn: $atBeginning() - Returns 1(TRUE) if the cursor is placed at the beginning of the text; otherwise returns 0(FALSE). + Returns true if the cursor is placed at the beginning of the text; otherwise returns false. !fn: $atEnd() - Returns 1(TRUE) if the cursor is placed at the end of the text; otherwise returns 0(FALSE). + Returns true if the cursor is placed at the end of the text; otherwise returns false. !fn: $setWordWrap() Sets the word wrap mode to mode. Valid Values are:[br] - NoWrap - Do not wrap the text.[br] @@ -144,11 +144,11 @@ static int mod_cod[] = { !fn: $setUnderline() If the bool value is 1 sets the current format to underline; otherwise, if it's 0 sets the current format to no-underline. !fn: $italic() - Returns 1(TRUE) if the current format is italic; otherwise returns 0(FALSE). + Returns true if the current format is italic; otherwise returns false. !fn: $bold() - Returns 1(TRUE) if the current format is bold; otherwise returns 0(FALSE). + Returns true if the current format is bold; otherwise returns false. !fn: $underline() - Returns 1(TRUE) if the current format is underline; otherwise returns 0(FALSE). + Returns true if the current format is underline; otherwise returns false. !fn: $zoomIn() Zooms in on the text by making the base font size range points larger. !fn: $zoomOut() @@ -166,7 +166,7 @@ static int mod_cod[] = { !fn: $setUndoDepth() Sets the depth of the undo history to x. !fn: $isUndoRedoEnabled() - Returns 1 (TRUE) if undo/redo is enabled; otherwise returns 0 (FALSE). + Returns true if undo/redo is enabled; otherwise returns false. !fn: $undoDepth() Returns the depth of the undo history. !fn: $indent() @@ -188,7 +188,7 @@ static int mod_cod[] = { - array(red:integer,green:integer,blue:integer) - red:integer,green:integer,blue:integer. !fn: $setModified() - Sets whether the document has been modified by the user. Valid Values are 1(TRUE) or 0(FALSE) + Sets whether the document has been modified by the user. Valid Values are true or false !fn: $insertParagraph(,) Inserts text as a new paragraph at position . !fn: $removeParagraph() @@ -210,9 +210,9 @@ static int mod_cod[] = { !fn: $loadFile() Load the file specified in the , also html files. !fn: $isUndoAvailable () - Returns 1(TRUE) if undo is available; otherwise returns 0(FALSE). + Returns true if undo is available; otherwise returns false. !fn: $isRedoAvailable () - Returns 1(TRUE) if redo is available; otherwise returns 0(FALSE). + Returns true if redo is available; otherwise returns false. !fn: $setAlignment() Sets the alignment of the current paragraph to . Valid values are:[br] - AlignAuto - Aligns according to the language.[br] -- cgit v1.2.3