|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Can be used to save and restore the editor's caret position, selection state, etc. More...
#include "juce_CodeEditorComponent.h"
Public Member Functions | |
| State (const CodeEditorComponent &) | |
| Creates an object containing the state of the given editor. | |
| State (const String &stringifiedVersion) | |
| Creates a state object from a string that was previously created with toString(). | |
| State (const State &) noexcept | |
| void | restoreState (CodeEditorComponent &) const |
| Updates the given editor with this saved state. | |
| String | toString () const |
| Returns a stringified version of this state that can be used to recreate it later. | |
Can be used to save and restore the editor's caret position, selection state, etc.
Definition at line 190 of file juce_CodeEditorComponent.h.
| juce::CodeEditorComponent::State::State | ( | const CodeEditorComponent & | editor | ) |
Creates an object containing the state of the given editor.
Definition at line 1799 of file juce_CodeEditorComponent.cpp.
Creates a state object from a string that was previously created with toString().
Definition at line 1828 of file juce_CodeEditorComponent.cpp.
Definition at line 1812 of file juce_CodeEditorComponent.cpp.
| void juce::CodeEditorComponent::State::restoreState | ( | CodeEditorComponent & | editor | ) | const |
Updates the given editor with this saved state.
Definition at line 1819 of file juce_CodeEditorComponent.cpp.
| String juce::CodeEditorComponent::State::toString | ( | ) | const |
Returns a stringified version of this state that can be used to recreate it later.
Definition at line 1837 of file juce_CodeEditorComponent.cpp.