1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
jules 2007-07-03 10:53:00 +00:00
parent 2e04bab207
commit 8439780b0b

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);
/** 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 */ /** @internal */
void handleCommandMessage (int commandId); void handleCommandMessage (int commandId);
virtual void returnPressed();
virtual void escapePressed();
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