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
protected:
//==============================================================================
/** This adds the items to the popup menu.
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);
//==============================================================================
/** Scrolls the minimum distance needed to get the caret into view. */
void scrollToMakeSureCursorIsVisible() throw();
@@ -559,13 +561,17 @@ protected:
/** Used internally to trigger an undo or redo. */
void doUndoRedo (const bool isRedo);
/** @internal */
void handleCommandMessage (int commandId);
/** Can be overridden to intercept return key presses directly */
virtual void returnPressed();
/** Can be overridden to intercept escape key presses directly */
virtual void escapePressed();
/** @internal */
void handleCommandMessage (int commandId);
private:
//==============================================================================
Viewport* viewport;
TextHolderComponent* textHolder;
BorderSize borderSize;
@@ -593,7 +599,6 @@ private:
VoidArray sections;
String textToShowWhenEmpty;
Colour colourForTextWhenEmpty;
tchar passwordCharacter;
enum


Loading…
Cancel
Save