◆ deserialize()
| virtual bool TypeViewHistoryEntry::deserialize |
( |
const Json::Value & |
value | ) |
|
|
overridevirtual |
Deserialize from json representation.
This method should clear any previously entered data on the HistoryEntry as if it were newly created.
- Parameters
-
| value | Json representation of history entry. In the Python api, this will be a dict. |
- Returns
- If deserialization was successful
Reimplemented from HistoryEntry.
◆ getCursorLine()
| size_t TypeViewHistoryEntry::getCursorLine |
( |
| ) |
const |
|
inline |
◆ getCursorOffset()
| size_t TypeViewHistoryEntry::getCursorOffset |
( |
| ) |
const |
|
inline |
◆ getCursorType()
◆ getHighlightTokenState()
◆ getSelectionStartLine()
| size_t TypeViewHistoryEntry::getSelectionStartLine |
( |
| ) |
const |
|
inline |
◆ getSelectionStartOffset()
| size_t TypeViewHistoryEntry::getSelectionStartOffset |
( |
| ) |
const |
|
inline |
◆ getSelectionStartType()
| const std::string & TypeViewHistoryEntry::getSelectionStartType |
( |
| ) |
const |
|
inline |
◆ isSelectionValid()
| bool TypeViewHistoryEntry::isSelectionValid |
( |
| ) |
const |
|
inline |
◆ serialize()
| virtual Json::Value TypeViewHistoryEntry::serialize |
( |
| ) |
const |
|
overridevirtual |
Serialize to json representation.
- Returns
- Json representation of history entry. In the Python api, this must be a dict.
Reimplemented from HistoryEntry.
◆ setCursorLine()
| void TypeViewHistoryEntry::setCursorLine |
( |
size_t |
line | ) |
|
|
inline |
◆ setCursorOffset()
| void TypeViewHistoryEntry::setCursorOffset |
( |
size_t |
offset | ) |
|
|
inline |
◆ setCursorType()
◆ setHighlightTokenState()
◆ setSelectionStartLine()
| void TypeViewHistoryEntry::setSelectionStartLine |
( |
size_t |
line | ) |
|
|
inline |
◆ setSelectionStartOffset()
| void TypeViewHistoryEntry::setSelectionStartOffset |
( |
size_t |
offset | ) |
|
|
inline |
◆ setSelectionStartType()
| void TypeViewHistoryEntry::setSelectionStartType |
( |
const std::string & |
type | ) |
|
|
inline |
◆ setSelectionValid()
| void TypeViewHistoryEntry::setSelectionValid |
( |
bool |
valid | ) |
|
|
inline |
The documentation for this class was generated from the following file: