Kaydet (Commit) 32f8e2ae authored tarafından Herbert Dürr's avatar Herbert Dürr Kaydeden (comit) Caolán McNamara

Resolves: #i21548# add context menu to code editor part of Basic IDE

for now only with cut, copy and paste but can be extended

Patch by: Tsutomu Uchino <hanya.runo@gmail.com>

(cherry picked from commit 82170a21)

Conflicts:
	basctl/source/basicide/baside2b.cxx

Change-Id: I2654eb073804cfe6936fa98e859800441ee34e42
üst 3a2c872b
...@@ -449,6 +449,12 @@ void EditorWindow::Command( const CommandEvent& rCEvt ) ...@@ -449,6 +449,12 @@ void EditorWindow::Command( const CommandEvent& rCEvt )
( rCEvt.GetCommand() == COMMAND_AUTOSCROLL ) ) ( rCEvt.GetCommand() == COMMAND_AUTOSCROLL ) )
{ {
HandleScrollCommand( rCEvt, rModulWindow.GetHScrollBar(), &rModulWindow.GetEditVScrollBar() ); HandleScrollCommand( rCEvt, rModulWindow.GetHScrollBar(), &rModulWindow.GetEditVScrollBar() );
} else if ( rCEvt.GetCommand() == COMMAND_CONTEXTMENU ) {
SfxDispatcher* pDispatcher = GetDispatcher();
if ( pDispatcher )
{
pDispatcher->ExecutePopup();
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment