diff --git a/juci/source.cc b/juci/source.cc index 3e18221..97f04dc 100644 --- a/juci/source.cc +++ b/juci/source.cc @@ -88,7 +88,7 @@ SetTagTable(const std::unordered_map &tagtable) { tagtable_ = tagtable; } -bool Source::Config::legal_extension(std::string e) const {/Users/eidheim/test/jucipp/juci +bool Source::Config::legal_extension(std::string e) const { std::transform(e.begin(), e.end(),e.begin(), ::tolower); if (find(extensiontable_.begin(), extensiontable_.end(), e) != extensiontable_.end()) { DEBUG("Legal extension"); @@ -134,13 +134,6 @@ get_buffer_map() const { return buffer_map; } -// Source::View::UpdateLine -void Source::View:: -OnLineEdit(const std::vector &locations, - const Source::Config &config) { - OnUpdateSyntax(locations, config); -} - // Source::Model::UpdateLine int Source::Parser:: ReParse(const std::map &buffer) { diff --git a/juci/source.h b/juci/source.h index 55a137c..be372d6 100644 --- a/juci/source.h +++ b/juci/source.h @@ -66,8 +66,6 @@ namespace Source { public: View(); virtual ~View() { } - void OnLineEdit(const std::vector &locations, - const Config &config); void OnUpdateSyntax(const std::vector &locations, const Config &config); std::string GetLine(size_t line_number); @@ -145,8 +143,6 @@ namespace Source { View view; private: - void OnLineEdit(); - void OnSaveFile(); Glib::Dispatcher parse_done; Glib::Dispatcher parse_start; std::thread parse_thread;