Herbert Breunung avatar Herbert Breunung committed a4cf4f6

correct ed part view unsplit

Comments (0)

Files changed (1)

lib/Kephra/App/Part/Editor.pm

 Kephra::API::Command::register({
  'docbar-prev' =>{sub=>'select_docbar_prev', label=>'Prev Docbar',  keys=>'alt+pageup'},
  'docbar-next' =>{sub=>'select_docbar_next', label=>'Next Docbar',  keys=>'alt+pagedown'},
- 'docbar-del' =>{sub=>'select_docbar_del', label=>'Next Docbar',  keys=>'ctrl+alt+pageup'},
- 'docbar-add' =>{sub=>'select_docbar_add', label=>'Prev Docbar',  keys=>'ctrl+alt+pagedown'},
+ 'docbar-del'  =>{sub=>'select_docbar_del', label=>'Next Docbar',  keys=>'ctrl+alt+pageup'},
+ 'docbar-add'  =>{sub=>'select_docbar_add', label=>'Prev Docbar',  keys=>'ctrl+alt+pagedown'},
 });
 
 
 	}
 	$passive_bar[-1]->Destroy();
 	delete $passive_bar[-1];
-	Kephra::API::focus($active_bar->GetSelection);
-	#Kephra::API::focus( Kephra::API::document()->panel->{$active_bar} );
-	#Kephra::API::focus( $splitter{'main'} );
+	Kephra::API::focus( $active_bar->GetPage( $active_bar->GetSelection ) );
 }
+
 sub select_docbar_add {
 	my $docbar_count = scalar @passive_bar + 1;
 	return if $docbar_count > 3;
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.