Herbert Breunung avatar Herbert Breunung committed b41d61f

added all stc events

Comments (0)

Files changed (2)

lib/Kephra/App/EditPanel.pm

     #Wx::Event::EVT_STC_SAVEPOINTREACHED($ep, -1, \&Kephra::File::savepoint_reached);
     #Wx::Event::EVT_STC_SAVEPOINTLEFT($ep, -1, \&Kephra::File::savepoint_left);
     #Wx::Event::EVT_STC_CHANGE       ($ep, -1, sub {&$trigger('document.text.change')} );
+    #Wx::Event::EVT_KEY_DOWN ($win, sub {
+    #EVT_STC_STYLENEEDED(id, fn) 
+    #EVT_STC_CHARADDED(id, fn) 
+    #EVT_STC_ROMODIFYATTEMPT(id, fn) 
+    #EVT_STC_KEY(id, fn) 
+    #EVT_STC_DOUBLECLICK(id, fn) 
+    #EVT_STC_UPDATEUI(id, fn) 
+    #EVT_STC_MODIFIED(id, fn) 
+    #EVT_STC_MACRORECORD(id, fn) 
+    #EVT_STC_MARGINCLICK(id, fn) 
+    #EVT_STC_NEEDSHOWN(id, fn) 
+    #EVT_STC_PAINTED(id, fn) 
+    #EVT_STC_USERLISTSELECTION(id, fn) 
+    #EVT_STC_URIDROPPED(id, fn) 
+    #EVT_STC_DWELLSTART(id, fn) 
+    #EVT_STC_DWELLEND(id, fn) 
+    #EVT_STC_START_DRAG(id, fn) 
+    #EVT_STC_DRAG_OVER(id, fn) 
+    #EVT_STC_DO_DROP(id, fn) 
+    #EVT_STC_ZOOM(id, fn) 
+    #EVT_STC_HOTSPOT_CLICK(id, fn) 
+    #EVT_STC_HOTSPOT_DCLICK(id, fn) 
+    #EVT_STC_CALLTIP_CLICK(id, fn) 
+    #EVT_STC_AUTOCOMP_SELECTION(id, fn) 
+    }
 }
 
 sub set_focus {  Wx::Window::SetFocus( $_[0] ) }

lib/Kephra/App/Window.pm

     $win->SetMenuBar( Kephra::App::Menu::main_bar() );
     #$win->GetMenuBar->SetAcceleratorTable( Wx::AcceleratorTable->new() );
 
-    my $panel = Wx::Panel->new( $win );
+    my %panel;
+    $panel{$_} = Wx::Panel->new( $win ) for qw /main left center right/;
 
     my %sizer;
     $sizer{'panel'} = Wx::BoxSizer->new( &Wx::wxHORIZONTAL );
     #$spliter{'middle'}->SplitVertically( $nbl, $nbr, 0);
     #$spliter{'middle'}->SetSashGravity(0.5);
 
+$panel{$_}
     Wx::Event::EVT_MENU( $win, 1000, sub { $nbl->add_edit_page() } );
-    Wx::Event::EVT_MENU( $nbl, &Wx::wxID_CLOSE, sub { $nbl->add_edit_page() } );
     #Wx::Event::EVT_KEY_DOWN ($win, sub {
         #my ($win, $event) = @_;
         #my $key = $event->GetKeyCode +
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.