ILayeredVisualElement ¶ SetLayerManager (Method)
VisuFbElemTextEditor.prvGetTextContainingArea (METH) ¶ METHOD prvGetTextContainingArea : VisuStructPaintRectangle / scrollbars (if visible). In detail: the vertical range of this area will be computed by the number of visible lines and the line height, because below the last line there might be some vertical space, that will be not used. InOut: Scope Name Type Comment Return prvGetTextContainingArea VisuStructPaintRectangle Output iLowermostYPos INT Returns the lowermost y position within the texteditor, where text can be displayed
VisuFbElemTextEditor.prvIsMouseWithinTextContainingArea (METH) ¶ METHOD prvIsMouseWithinTextContainingArea : BOOL This method checks, whether the current mouse event has occurred within the region of the text editor, where the text to edit is displayed. InOut: Scope Name Type Comment Return prvIsMouseWithinTextContainingArea BOOL Input pEvent POINTER TO VisuStructEvent Point to the event, that is is currently processed
VisuFbElemTextEditor.prvModifySelectionCurrentWord (METH) ¶ METHOD prvModifySelectionCurrentWord Takes the current position stored in the mouse event and calculates the new selection according to the position by selecting the word under the mouse cursor.
VisuFbElemTextEditor.prvModifySelectionWithMouse (METH) ¶ METHOD prvModifySelectionWithMouse : BOOL Takes the current position stored in the mouse event and calculates the new selection according to the position. Additionally this method sets the new caret position. The return value indicates, whether the texteditor element was able to process the mouse event InOut: Scope Name Type Comment Return prvModifySelectionWithMouse BOOL Input pEvent POINTER TO VisuStructEvent Point to the event, that will be used to calculate the selection
VisuFbElemTextEditor.prvModifySelectionWithMouse1 (METH) ¶ METHOD prvModifySelectionWithMouse1 Takes the current position stored in the mouse event and calculates the new selection according to the position. Additionally this method sets the new caret position. “Overridden” method prvModifySelectionWithMouse with different name because of lack in ICE to really override methods… InOut: Scope Name Type Comment Input pEvent POINTER TO VisuStructEvent Point to the event, that will be used to calculate the selection iYMouseCursorUntransformed INT
VisuFbElemTextEditor.prvPasteIntoText (METH) ¶ METHOD prvPasteIntoText Pastes data from the clipboard into the texteditor either by saving or by inserting at the current position InOut: Scope Name Type Comment Input cbpTextBuffer Stu.CharBufferPtr Represents the buffer, that contains the (perhaps converted) string to paste udiStringLength UDINT The length of the string iCountLineBreaks INT The number of line breaks in the text to paste
Update ¶ prvRetrieveScrollbarValues (Method) prvSelectElementAndCaptureInputs (Method)
VisuFbElemTextEditor.prvRetrieveScrollbarValues (METH) ¶ METHOD prvRetrieveScrollbarValues Makes copies of the current values the scrollbars modify.
VisuFbElemTextEditor.prvSelectElementAndCaptureInputs (METH) ¶ METHOD prvSelectElementAndCaptureInputs : BOOL InOut: Scope Name Type Return prvSelectElementAndCaptureInputs BOOL