Opened 6 years ago

Closed 6 years ago

#173 closed defect (fixed)

editor pane loses focus if the syntax checker is selected

Reported by: SvenDowideit Owned by:
Priority: major Milestone:
Component: editor Version: 0.20
Keywords: Cc:

Description

select View|Show Syntax checker then exit Padre

start Padre using

./dev.pl lib/Padre/Wx/MainWindow.pm

once the syntax checker is loaded, you see that the edit pane has lost focus - simple misplacement of refresh

t42p:/data/padre/trunk/Padre# svn diff lib/Padre/Wx/MainWindow.pm
Index: lib/Padre/Wx/MainWindow.pm
===================================================================
--- lib/Padre/Wx/MainWindow.pm	(revision 1874)
+++ lib/Padre/Wx/MainWindow.pm	(working copy)
@@ -420,12 +420,11 @@
 	$self->load_files;
 	$self->on_toggle_status_bar;
 	Padre->ide->plugin_manager->enable_editors_for_all;
-	$self->refresh;
-
 	if ( $self->menu->view->{show_syntaxcheck}->IsChecked ) {
 		$self->syntax_checker->enable(1);
 	}
-
+	
+	$self->refresh;
 	# Now we are fully loaded and can paint continuously
 	$self->Thaw;

Change History (1)

comment:1 Changed 6 years ago by SvenDowideit

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.