Commits

Herbert Breunung committed 3df5730

fixed gotoalready opened tab while try open file again

  • Participants
  • Parent commits 3c2c449

Comments (0)

Files changed (4)

File lib/Kephra/App/Editor.pm

      $self->StyleSetSpec(1,"fore:#ff0000");                                     # Error
      $self->StyleSetSpec(2,"fore:#aaaaaa");                                     # Comment
      $self->StyleSetSpec(3,"fore:#004000,back:#E0FFE0,$(font.text),eolfilled"); # POD: = at beginning of line
-     $self->StyleSetSpec(4,"fore:#007f7f");                                     # Number
+     $self->StyleSetSpec(&Wx::wxSTC_PL_NUMBER,"fore:#007f7f");                                     # Number
      $self->StyleSetSpec(5,"fore:#000077,bold");                                # Keywords
      $self->StyleSetSpec(6,"fore:#ee7b00,back:#fff8f8");                        # Doublequoted string
      $self->StyleSetSpec(7,"fore:#f36600,back:#fffcff");                        # Single quoted string

File lib/Kephra/App/Panel/Editor.pm

     my $main_doc_bar = _active_docbar();
 
     if ( $file_path and Kephra::DocumentStash::file_loaded($file_path) ){
-        $main_doc_bar->raise_panel( Kephra::DocumentStash::get_by_path($file_path) );
+        $main_doc_bar->raise_panel( Kephra::DocumentStash::get_by_path($file_path)->{editor} );
     } elsif ($doc and $doc->editor->is_empty and $file_path) {
         $doc->load($file_path);
         $main_doc_bar->SetPageText( $main_doc_bar->GetSelection , $doc->file_name );

File lib/Versioning.pod

 
 =head3 Stable
 
-Stable number goes up if some greater new features are in and all known bugs are out.
-If there are still bugs, they have to be disabled with the feature there are sitting on.
+Stable number goes up if several greater new features are in
+and all known bugs are out.
+If there are still bugs,
+they have to be disabled with the feature there are sitting on.
 
 Stable releases should have a polished interface and no bugs.
 If one appears in 0.3 it will be fixed ASAP with 0.3.0.1 a.s.o.

File t/KephraTesting.pod

 
 0  compile / start / prerun
 
-1  Config: 	load, manipulate and store file and default configs
+1  Config: load, manipulate and store file and default configs
 
 2  helper functions (App::Util)