Source

Kephra / lib / Kephra / App / Editor.pm

Diff from to

File lib/Kephra/App/Editor.pm

 
 package Kephra::App::Editor;
 our @ISA = 'Wx::StyledTextCtrl';
+#our @ISA = 'Wx::ScintillaTextCtrl';
 use Kephra::App::Util qw(create_color);
 
 
 		$event->Skip;
 		Kephra::App::Part::Editor::select_docbar( $ed->GetParent->GetParent );
 	});
-
 	#Wx::Event::EVT_DROP_FILES       ($ep, sub{});
 	#Wx::Event::EVT_STC_START_DRAG   ($ep, -1, sub {
 	#Wx::Event::EVT_STC_DRAG_OVER    ($ep, -1, sub { $droppos = $_[1]->GetPosition });
 	#Wx::Event::EVT_STC_UPDATEUI
 	Wx::Event::EVT_STC_SAVEPOINTREACHED($self, -1, sub { });
 	Wx::Event::EVT_STC_SAVEPOINTLEFT($self, -1, sub { });
+	Wx::Event::EVT_SET_FOCUS( $self, sub { });
 	#Wx::Event::EVT_DROP_FILES       ($ep, sub{});
 	#Wx::Event::EVT_STC_START_DRAG   ($ep, -1, sub {
 	#Wx::Event::EVT_STC_DRAG_OVER    ($ep, -1, sub { $droppos = $_[1]->GetPosition });