WSF
wizard::InputContext Class Reference

InputContext contains functions that compute the 'context' from a position in the input file. More...

#include <InputContext.hpp>

Classes

struct  Context

Static Public Member Functions

static void ContextFromCursor (Editor *aEditControlPtr, size_t aCursorLine, size_t aCursorColumn, Context &aContext)
static void GetContext (Editor *aEditControlPtr, const UtTextDocumentRange &aPosition, Context &aContext)
static void GetInputContext (Editor *aEditControlPtr, WsfParseNode *aPreviousNode, size_t aInputPosition, UtTextRange &aRange)
static WsfParseNodeFindBlockNode (WsfParseNode *aNodePtr)
static bool CommandExtent (WsfParseNode *aNodePtr, WsfParseNode *&aCommandNodePtr)
static bool CommandHasError (WsfParseNode *aCommandNodePtr)

Detailed Description

InputContext contains functions that compute the 'context' from a position in the input file.

Member Function Documentation

◆ CommandExtent()

bool wizard::InputContext::CommandExtent ( WsfParseNode * aNodePtr,
WsfParseNode *& aCommandNodePtr )
static

◆ CommandHasError()

bool wizard::InputContext::CommandHasError ( WsfParseNode * aCommandNodePtr)
static

◆ ContextFromCursor()

void wizard::InputContext::ContextFromCursor ( Editor * aEditControlPtr,
size_t aCursorLine,
size_t aCursorColumn,
Context & aContext )
static

◆ FindBlockNode()

WsfParseNode * wizard::InputContext::FindBlockNode ( WsfParseNode * aNodePtr)
static

◆ GetContext()

◆ GetInputContext()

void wizard::InputContext::GetInputContext ( Editor * aEditControlPtr,
WsfParseNode * aPreviousNode,
size_t aInputPosition,
UtTextRange & aRange )
static

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved