|
WSF
|
#include <WsfEditor.hpp>


Public Member Functions | |
| WsfEditor (QWidget *aParent, Project *aProject, TextSource *aTextSource, EditorManager *aManagerPtr) | |
| ~WsfEditor () override=default | |
| void | Initialize () |
| void | Initialize2 () |
| void | TipsMoved (QRect aRect) |
| int | GetContextMenuCharacterPosition () |
| void | HideAutocomplete () |
| QRect | GetTipsGeometry () |
| void | UpdateStyle () override |
| Public Member Functions inherited from wizard::Editor | |
| Editor (QWidget *aParent, Project *aProject, TextSource *aTextSource, EditorManager *aManagerPtr) | |
| ~Editor () override | |
| void | Initialize () |
| void | PrintFile () |
| void | DeleteLine () |
| void | FindNextAction () |
| void | FindPreviousAction () |
| void | GoToLineAction () |
| bool | ReplaceFoundText () |
| void | Replace (const UtTextRange &aRange, const std::string aText) |
| std::string | GetSelectedText () |
| bool | SearchNext (const FindTextRequest &aFindRequest, QTextCursor *aCursorPtr=nullptr) |
| bool | SearchNextNoWrap (const FindTextRequest &aFindRequest, QTextCursor *aCursorPtr=nullptr, int aLowerBound=-1, int aUpperBound=-1) |
| bool | SearchPrevious (const FindTextRequest &aFindRequest) |
| bool | GetSelectionRange (UtTextDocumentRange &aRange) |
| void | SetSelection (const UtTextRange &aRange) |
| void | GetCurrentPosition (size_t &aOffset, size_t &aLine, size_t &aColumn) |
| std::string | GetLineText (const size_t &aLine) |
| bool | TextIsSelected () |
| void | GetLineColumn (const size_t &aOffset, size_t &aLine, size_t &aColumn) |
| QPoint | GetPoint (const size_t aOffset) |
| size_t | GetOffset (const size_t aLine, const size_t aColumn) |
| int | GetLineHeight (const int aLine) |
| TextSource * | GetSource () |
| Project * | GetProject () |
| size_t | GetPosition (size_t aLine, size_t aColumn) |
| size_t | GetPosition (const QPoint &aPoint) |
| std::string | RangeText (size_t aStart, size_t aEnd) |
| void | RequestCloseAction () |
| virtual void | BeginNonUserAction () |
| virtual void | EndNonUserAction () |
| virtual bool | ExecutingNonUserAction () |
| void | RecordCurrentLocation (bool aForceNewEntry=true) |
| void | GoToLine (size_t aLine) |
| void | GoToRange (const UtTextRange &aRange) |
| void | CopyLine () |
| void | CutLine () |
| QString | ToPlainText () |
| void | SetGlobalReadOnly (bool aIsGlobalReadOnly) |
| void | Unindent () |
| void | Indent () |
| void | SetManager (EditorManager *aManagerPtr) |
| int | LineNumberWidth () |
| void | BuildTitleBarMenu (QMenu &aMenu) |
| bool | AcceptsClose () |
| QString | GetShortName (bool aTrim=true) const |
| void | mousePressEvent (QMouseEvent *aEvent) override |
| const EditorDock * | GetDock () const noexcept |
| EditorDock * | GetDock () noexcept |
Protected Member Functions | |
| void | GoToDefinitionAction () |
| void | FindReferencesAction () |
| void | BeginAutoComplete () |
| bool | CommentBlock () |
| bool | UncommentBlock () |
| void | FormatSelection () |
| Protected Member Functions inherited from wizard::Editor | |
| void | keyPressEvent (QKeyEvent *e) override |
| EditorManager * | Manager () |
| bool | FoldingEnabled () |
| void | RedrawMargin () |
| QTimer & | DeferUpdateTimer () |
| EditorMargin * | Margin () |
| void | GetCursorPoint (int &aX, int &aY, int &aLineHeight) |
| void | AddCurrentLineSelection (QList< QTextEdit::ExtraSelection > &aSelections) |
| bool | event (QEvent *e) override |
| void | UpdateMarginGeometry () |
| void | focusInEvent (QFocusEvent *e) override |
Friends | |
| class | ActionManager |
Additional Inherited Members | |
| Public Slots inherited from wizard::Editor | |
| void | DebugRunStateChange (wizard::ScriptDebugger *aDebuggerPtr, bool aIsRunning) |
| void | TextModified () |
| Static Public Member Functions inherited from wizard::Editor | |
| static std::string | ToAscii (const QString &aText) |
| static void | UpdateStyleFromArray (const QVector< QTextCharFormat > &aFormatChanges, const QTextBlock &firstBlk, int aLastBlockNumber, int startPos, int endPos) |
| static QStringList | Split (const QString &aStr) |
| static int | FindNextValidToken (const QStringList &aList, int aStart) |
| Static Protected Attributes inherited from wizard::Editor | |
| static const int | cSYMBOL_MARGIN_WIDTH = 16 |
| wizard::WsfEditor::WsfEditor | ( | QWidget * | aParent, |
| Project * | aProject, | ||
| TextSource * | aTextSource, | ||
| EditorManager * | aManagerPtr ) |
References wizard::Signals::BreakpointsChanged(), wizard::EditorPrefObject::Changed(), wizard::Editor::Editor(), wizard::Signals::ParseResultsInvalidate(), and wizSignals.
Referenced by ActionManager.
|
overridedefault |
|
protected |
|
protected |
References end(), and wizard::Editor::GetSelectionRange().
|
inlineprotected |
|
protected |
| int wizard::WsfEditor::GetContextMenuCharacterPosition | ( | ) |
Referenced by ~WsfEditor().
| QRect wizard::WsfEditor::GetTipsGeometry | ( | ) |
Referenced by ~WsfEditor().
|
inlineprotected |
| void wizard::WsfEditor::HideAutocomplete | ( | ) |
Referenced by ~WsfEditor().
| void wizard::WsfEditor::Initialize | ( | ) |
References wizard::Editor::GetProject(), wizard::Editor::Initialize(), Initialize2(), and wizard::ProjectWorkspace::ProxyUpdated().
Referenced by wizard::TextSource::NewView(), and ~WsfEditor().
| void wizard::WsfEditor::Initialize2 | ( | ) |
Referenced by Initialize(), and ~WsfEditor().
| void wizard::WsfEditor::TipsMoved | ( | QRect | aRect | ) |
Referenced by ~WsfEditor().
|
overridevirtual |
Reimplemented from wizard::Editor.
References wizard::Editor::DeferUpdateTimer(), wizard::WsfStyler::FoldDocument(), wizard::Editor::FoldingEnabled(), wizard::Editor::GetProject(), wizard::Editor::GetSource(), wizard::Editor::RedrawMargin(), and wizExeMgr.
Referenced by ~WsfEditor().
|
friend |
References ActionManager, and WsfEditor().
Referenced by ActionManager.