mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-26 02:14:22 +00:00
Introjucer: popup menu for code editor.
This commit is contained in:
parent
9fde239d9c
commit
1cd7660f10
2 changed files with 31 additions and 4 deletions
|
|
@ -156,12 +156,16 @@ private:
|
|||
class CppCodeEditorComponent : public CodeEditorComponent
|
||||
{
|
||||
public:
|
||||
CppCodeEditorComponent (CodeDocument& codeDocument);
|
||||
CppCodeEditorComponent (const File& file, CodeDocument& codeDocument);
|
||||
|
||||
void handleReturnKey();
|
||||
void insertTextAtCaret (const String& newText);
|
||||
|
||||
void addPopupMenuItems (PopupMenu&, const MouseEvent*);
|
||||
void performPopupMenuAction (int menuItemID);
|
||||
|
||||
private:
|
||||
File file;
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (CppCodeEditorComponent);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue