97 virtual void updateLine(
int line,
int length=1 );
113 int autoScrollMargin_;
This is the base and abstract class of a text document A TextDocument is the model part of the editor...
Definition textdocument.h:42
An autocomplete list Which receives it's autocomplete list from the document.
Definition texteditorautocompletecomponent.h:55
This is a texteditor map. This is used to map Command-Names to commands This class is the owner of th...
Definition texteditorcommandmap.h:20
This is the main texteditor-component (which is the true editor) This is the QWidget that recieves th...
Definition texteditorcomponent.h:29
General configuration settings of the text editor.
Definition texteditorconfig.h:18
The texteditor works via the controller. The controller is the central point/mediator which maps/cont...
Definition texteditorcontroller.h:39
A text editor key map This key map, maps key-sequences to action-names.
Definition texteditorkeymap.h:39
A special scrollarea that makes it possible to add components to the margins of it.
Definition texteditorscrollarea.h:19
TextEditorCommandMap * commandMap() const
Return the associated commandmap.
Definition texteditorwidget.cpp:165
TextEditorWidget(TextEditorController *controller, QWidget *parent=0)
The default TextEditor widget constructor.
Definition texteditorwidget.cpp:50
QScrollBar * horizontalScrollBar() const
Return the horizontal scrollbar.
Definition texteditorwidget.cpp:237
QScrollBar * verticalScrollBar() const
returns the vertical scrollbar
Definition texteditorwidget.cpp:244
TextEditorConfig * config() const
Returns the configuration object for this widget.
Definition texteditorwidget.cpp:158
virtual void updateAreaAroundOffset(int offset, int width=8)
updates the character before and at the given offset
Definition texteditorwidget.cpp:360
void verticalScrollBarChanged(QScrollBar *newScrollBar)
Definition moc_texteditorwidget.cpp:376
void horizontalScrollBarChanged(QScrollBar *newScrollBar)
Definition moc_texteditorwidget.cpp:383
void setPlaceholderText(const QString &text)
Definition texteditorwidget.cpp:281
TextEditorKeyMap * keyMap() const
return the associated keymap
Definition texteditorwidget.cpp:172
void focusIn(QWidget *event)
Definition moc_texteditorwidget.cpp:362
virtual void updateLine(int line, int length=1)
This method repaints the given lines.
Definition texteditorwidget.cpp:370
TextSelection * textSelection() const
Return the textselection.
Definition texteditorwidget.cpp:193
int autoScrollMargin() const
Returns the auto scroll margin.
Definition texteditorwidget.cpp:270
TextDocument * textDocument() const
Returns the textdocument for this widget.
Definition texteditorwidget.cpp:179
void connectVerticalScrollBar()
Connects the vertical scrollbar so it updates the rendering viewport.
Definition texteditorwidget.cpp:330
void setVerticalScrollBar(QScrollBar *scrollBar)
Use this method to change a scrollbar. By using this method listeners of the scrollbar well be inform...
Definition texteditorwidget.cpp:253
virtual void updateGeometryComponents()
Updates the geometry for all components.
Definition texteditorwidget.cpp:387
virtual void updateLineAtOffset(int offset)
updates the given line so it will be repainted @Param offset the offset of the line that needs repain...
Definition texteditorwidget.cpp:350
virtual bool readonly() const
Return the readonly status.
Definition texteditorwidget.cpp:288
virtual void resizeEvent(QResizeEvent *event)
This method is called when a resize happens.
Definition texteditorwidget.cpp:302
TextEditorController * controller() const
returns the controller for this editor
Definition texteditorwidget.cpp:141
virtual void updateComponents()
Calls update on all components.
Definition texteditorwidget.cpp:379
void connectHorizontalScrollBar()
Connects the horizontal scrollbar so it updates the rendering viewport.
Definition texteditorwidget.cpp:337
TextRenderer * textRenderer() const
Returns the text-renderer.
Definition texteditorwidget.cpp:186
void scrollPositionVisible(int xPosIn, int yPosIn)
This method makes sure the given position is visible.
Definition texteditorwidget.cpp:133
TextMarginComponent * textMarginComponent() const
Returns the active margin component.
Definition texteditorwidget.cpp:207
void resetCaretTime()
This method resets the caret time.
Definition texteditorwidget.cpp:221
void setHorizontalScrollBar(QScrollBar *scrollBar)
Use this method to change the horizontal scrollbar. By using this method listeners of the scrollbar w...
Definition texteditorwidget.cpp:263
TextEditorScrollArea * textScrollArea() const
Returns the active scroll area.
Definition texteditorwidget.cpp:214
TextEditorComponent * textEditorComponent() const
Returns the editor component-part of the editor.
Definition texteditorwidget.cpp:200
bool eventFilter(QObject *obj, QEvent *event)
a basic event-filter for receiving focus-events of the editor
Definition texteditorwidget.cpp:311
void setAutoScrollMargin(int amount=50)
Sets the auto scrollmargin.
Definition texteditorwidget.cpp:276
virtual void updateRendererViewport()
Updates the renderer viewport.
Definition texteditorwidget.cpp:400
void fullUpdate()
This method performs a full update. Which means it calibrates the scrollbars invalidates all caches,...
Definition texteditorwidget.cpp:229
void setReadonly(bool readonly)
Set the readonly status.
Definition texteditorwidget.cpp:294
void scrollTopToLine(int line)
this method scrolls the top position to the given line
Definition texteditorwidget.cpp:149
void focusOut(QWidget *event)
Definition moc_texteditorwidget.cpp:369
The margin/line-number component This class is used for rendering line-numbers etc.
Definition textmargincomponent.h:53
A class for rendering the text.
Definition textrenderer.h:35
The class textselection is a RangeSet that is used by the view of the document.
Definition textselection.h:25
#define EDBEE_EXPORT
Definition exports.h:15
QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMP...
Definition commentcommand.cpp:20