WSF
EditorHelpers.hpp File Reference
#include <sstream>
#include <QString>
#include <QStringList>
#include <QTextCursor>
#include "UtCompilerAttributes.hpp"
#include "WkfEnvironment.hpp"
#include "WkfUnitsObject.hpp"
#include "WsfPProxyNode.hpp"
#include "Editor.hpp"
#include "ViExport.hpp"
Include dependency graph for EditorHelpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  vespa
namespace  wizard
namespace  wizard::EditorHelpers

Functions

QString wizard::EditorHelpers::GetInsertWithComments (const UtTextDocumentRange &aEntryRange, const QString &aAttributeName, const QString &aInsert)
bool wizard::EditorHelpers::ReplaceTextInEditor (const UtTextDocumentRange &aEntryRange, const QString &aAttributeName, const QString &aInsert)
QTextCursor wizard::EditorHelpers::FindStartCursor (const WsfPProxyNode &aNode) noexcept
QTextCursor wizard::EditorHelpers::FindEndCursor (const WsfPProxyNode &aNode) noexcept
int wizard::EditorHelpers::GetIndentLevel (const QString &aLine) noexcept
QString wizard::EditorHelpers::ConstructTextToAppendToBlock (const QTextCursor &aStartCursor, const QTextCursor &aEndCursor, const QString &aAttributeName, const QString &aDataValue) noexcept
void wizard::EditorHelpers::AddNewAttributeInText (const WsfPProxyNode &aProxyNode, const QString &aAttributeName, const QString &aDataValue) noexcept
bool wizard::EditorHelpers::MoveToPreviousNonWhitespaceToken (QTextCursor &aCursor, QTextCursor::MoveMode aMoveMode, int aOperationCount) noexcept
bool wizard::EditorHelpers::IsWhitespaceString (const QString &aText) noexcept
bool wizard::EditorHelpers::ReplacePositionText (QStringList &aPositionTokens, int aCommandIndex, const vespa::VaPosition &aNewPosition) noexcept
bool wizard::EditorHelpers::ReplaceMGRS_Text (QStringList &aMGRS_Tokens, int aCommandIndex, const vespa::VaPosition &aNewPosition) noexcept
template<typename UNITARY_PROPERTY>
bool wizard::EditorHelpers::ReplaceUnitaryText (QStringList &aUnitaryTokens, int aCommandIndex, UNITARY_PROPERTY &aNewUnitary) noexcept
void wizard::EditorHelpers::InsertTextAndResetCursor (wizard::Editor *aEditorPtr, QTextCursor &aCursor, const QString &aTextToInsert) noexcept
QString wizard::EditorHelpers::GetPositionString (const vespa::VaPosition &aPosition) noexcept
template<wkf::ValueType UNITARY_TYPE, typename UNITARY_PROPERTY>
QString wizard::EditorHelpers::GetUnitaryString (UNITARY_PROPERTY &aUnitary) noexcept
Copyrights Multiple, All Rights Reserved