Commits

Herbert Breunung committed d7282aa

config::global is now just Kephra::Config

  • Participants
  • Parent commits 9a86c47

Comments (0)

Files changed (4)

 ## Purpose:     Kephra starter
 ## Created:     1/06/2011
 ## Copyright:   (c) Herbert Breunung
-## Licence:     GPL
+## Licence:     GPLv2
 #############################################################################
 
 use strict;
 our $VERSION = '0.1';
 
 BEGIN {
-	my $dir = -d 'lib' ? 'lib' : '../lib';
+	my $dir = -d 'lib' ? './lib' : '../lib';
 	unshift @INC, $dir;
 	require Kephra;
 }
 	   App::Bar::Document Document/;
 
 sub start {
-	start_worker_thread();
+	#start_worker_thread();
 	load_libs();
+	print 1
 	#configdir();
-	Kephra::App->new()->MainLoop();
+	#Kephra::App->new()->MainLoop();
 }
 
 sub load_libs {
 
 
 sub start_worker_thread {
-	#TODO:  
+	# TODO:  
 	#Kephra::Works
 }
 

lib/Kephra/API.pm

 use warnings;
 use Carp;
 use Kephra::App::Window;
-use Kephra::Config::Global;
+use Kephra::Config;
 use Kephra::CommandList;
 use Kephra::DocumentStash;
 use Kephra::KeyMap;

lib/Kephra/App/Editor.pm

 
 use Wx;
 #use Wx::DND;
-#use Wx::STC;
-use Wx::Scintilla;
+use Wx::STC;
+#use Wx::Scintilla;
 
 use Kephra::API;
 use Kephra::App::Editor::TextDropTarget;
 use Kephra::Edit::Search;
 
 package Kephra::App::Editor;
-#our @ISA = 'Wx::StyledTextCtrl';
-our @ISA = 'Wx::ScintillaTextCtrl';
+our @ISA = 'Wx::StyledTextCtrl';
+#our @ISA = 'Wx::ScintillaTextCtrl';
 
 my $mk_color = Kephra::App::Util::get('create_color');