Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
8439780b0b
1 changed files with 9 additions and 4 deletions
  1. +9
    -4
      src/juce_appframework/gui/components/controls/juce_TextEditor.h

+ 9
- 4
src/juce_appframework/gui/components/controls/juce_TextEditor.h View File

@@ -501,6 +501,7 @@ l */
juce_UseDebuggingNewOperator juce_UseDebuggingNewOperator
protected: protected:
//==============================================================================
/** This adds the items to the popup menu. /** This adds the items to the popup menu.
By default it adds the cut/copy/paste items, but you can override this if By default it adds the cut/copy/paste items, but you can override this if
@@ -533,6 +534,7 @@ protected:
*/ */
virtual void performPopupMenuAction (const int menuItemID); virtual void performPopupMenuAction (const int menuItemID);
//==============================================================================
/** Scrolls the minimum distance needed to get the caret into view. */ /** Scrolls the minimum distance needed to get the caret into view. */
void scrollToMakeSureCursorIsVisible() throw(); void scrollToMakeSureCursorIsVisible() throw();
@@ -559,13 +561,17 @@ protected:
/** Used internally to trigger an undo or redo. */ /** Used internally to trigger an undo or redo. */
void doUndoRedo (const bool isRedo); void doUndoRedo (const bool isRedo);
/** @internal */
void handleCommandMessage (int commandId);
/** Can be overridden to intercept return key presses directly */
virtual void returnPressed(); virtual void returnPressed();
/** Can be overridden to intercept escape key presses directly */
virtual void escapePressed(); virtual void escapePressed();
/** @internal */
void handleCommandMessage (int commandId);
private: private:
//==============================================================================
Viewport* viewport; Viewport* viewport;
TextHolderComponent* textHolder; TextHolderComponent* textHolder;
BorderSize borderSize; BorderSize borderSize;
@@ -593,7 +599,6 @@ private:
VoidArray sections; VoidArray sections;
String textToShowWhenEmpty; String textToShowWhenEmpty;
Colour colourForTextWhenEmpty; Colour colourForTextWhenEmpty;
tchar passwordCharacter; tchar passwordCharacter;
enum enum


Loading…
Cancel
Save