Commits

Herbert Breunung  committed 4b21d53

refinde roadmap

  • Participants
  • Parent commits c114c20
  • Branches sp2

Comments (0)

Files changed (3)

 sed           R       single file editor, read, writes files, utf safe, perl highlighting
 ded             I     doc editor, multi file, file_path = 1 doc property, docs in stash class,
                       multi docbar-multi views, splitter, panel, sizer, focus management, central API
-ked              N    keylog ed: all UI calls are registered Command.pm functions
+ked              N    kommando and keylog ed: all UI calls are registered Command.pm functions
                       any key, mouse, menu, button, calls a command - no char inserted by scintilla
 ced              N    comfort editing: selecting, moving cursor with keyboard and mouse
                       formating, converting, commenting, multi clipboards and context values
-led              N    local editor, store and retrieve all configs and user data from local files
-ted              N    tool lib extention, input & output extentions, more internal logging, notes
+led              N    local editor, store and retrieve all configs and user data from local files, note panel
+ted              N    tool lib extention, input & output extentions,
+ned              N    nav edit: text navigation, selfmade find and replace,
+                      marker, bookmarks, searchbar, outline and nav panel
 fed              N    file sessions, closed file menu, file browser, project browser, project functions
-ned              N    nav edit: text navigation, selfmade find and replace, marker, bookmarks, searchbar,
-sced             N    source code ed: folding , outline panel, syntac modes
+sced             N    source code ed: folding, syntax modes
 med              N    text factory panel
 vim              N    vim like command line
 orgpad           N    minimal effective emacs orgmode clone
 emacs            N    emacs like keyboard usage
 acme             N    advanced mouse controls with click combos and context panels
-html
-latex
+html             N
+latex            N
 
 see doc/Components.pod in sp3 for details

File lib/ded/Kephra/App/Focus.pm

 	return warning( "got no proper widget but $widget", 1 ) unless is_widget($widget);
 	#message("focus is on :". get()." and will be: $widget");
 	return if $widget eq get();
+say "set focus",( caller(2) )[3], $widget ;
 	unshift @stack, $widget;
 	pop @stack while scalar @stack > $max_stack_size;
 	stay();

File lib/ded/Kephra/App/Part/Main.pm

 	} elsif ($bar_nr == 2){
 		$self->{'splitter'}[0]->set({ left => $self->{'doc_bar'}[0], right => $self->{'doc_bar'}[1]});
 	} elsif ($bar_nr == 3){
+#my $win = app_window();	$_->Reparent( $win ) for @{$self->{'doc_bar'}}, $self->{'splitter'}[1,2];
 		$self->{'splitter'}[1]->set({ top  => $self->{'doc_bar'}[1],bottom => $self->{'doc_bar'} [2]});
 		$self->{'splitter'}[0]->set({ left => $self->{'doc_bar'}[0], right => $self->{'splitter'}[1]});
 	} elsif ($bar_nr == 4){
-my $win = app_window();
-	$_->Reparent( $win ) for @{$self->{'doc_bar'}};
+#my $win = app_window();	$_->Reparent( $win ) for @{$self->{'doc_bar'}};
 		$self->{'splitter'}[1]->set({ top  => $self->{'doc_bar'}[0],bottom => $self->{'doc_bar'}[1]});
 		$self->{'splitter'}[2]->set({ top  => $self->{'doc_bar'}[2],bottom => $self->{'doc_bar'}[3]});
 		$self->{'splitter'}[0]->set({ left => $self->{'splitter'}[1],right => $self->{'splitter'}[2]});
 	return unless $self->{'visible'} < 4;
 
 	my $new_bar = $self->{'doc_bar'}[$self->{'visible'}];
-	$new_bar->Show(1);
 	Kephra::DocumentStash::add_doc_bar( $new_bar );
-	$self->{'splitter'}[$self->{'visible'}-1]->Show(1);
 	$self->{'visible'}++;
 	$self->layout( );
+	$self->{'splitter'}[$self->{'visible'}-2]->Show(1);
+	$new_bar->Show(1);
 	focus_back();
 	$self;
 }
 
 	$self->{'visible'}--;
 	my $leaving_bar = $self->{'doc_bar'}[$self->{'visible'}];
-	Kephra::DocumentStash::set_active_doc_by_panel( document()->{'panel'}{$self->first_doc_bar()} )
-		if document()->{'active_editor'}->GetParent->GetParent eq $leaving_bar;
-	Kephra::DocumentStash::remove_doc_bar( $leaving_bar );
 	$leaving_bar->Show(0);
 	$self->{'splitter'}[$self->{'visible'}-1]->Show(0);
 	$self->{'splitter'}[0]->Show(1);
 	$self->layout( );
+	Kephra::DocumentStash::set_active_doc_by_panel( document()->{'panel'}{$self->first_doc_bar()} )
+	if document()->{'active_editor'}->GetParent->GetParent eq $leaving_bar;
+	Kephra::DocumentStash::remove_doc_bar( $leaving_bar );
 	focus_back();
 	$self;
 }