Commits

Herbert Breunung committed cf66be2

little moo syntax

  • Participants
  • Parent commits fe78f9b

Comments (0)

Files changed (1)

File lib/Kephra/Document.pm

 use Moo;
 
 has edit_panel => (
-    is  => 'rw',
+    is  => 'ro',
     isa => sub {die "$_[0] is no editpanel" unless ref $_[0] eq 'Kephra::App::EditPanel'},
 );
+has content   =>  ( is  => 'rw', );
+has notes     =>  ( is  => 'rw', );
+has file_path =>  ( is  => 'rw', );
 
 has syntax_mode => ( is  => 'rw', );
-has content   =>  ( is  => 'rw', );
 has readonly  =>  ( is  => 'rw', );
 has active_config => ( is  => 'rw', );
-has file_path =>  ( is  => 'rw', );
 has caret_pos => ( is  => 'rw', );
 has edit_pos => ( is  => 'rw', );
 has coding   => ( is  => 'rw', );