|
|
|
@ -88,7 +88,7 @@ SetTagTable(const std::unordered_map<string, string> &tagtable) { |
|
|
|
tagtable_ = 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); |
|
|
|
std::transform(e.begin(), e.end(),e.begin(), ::tolower); |
|
|
|
if (find(extensiontable_.begin(), extensiontable_.end(), e) != extensiontable_.end()) { |
|
|
|
if (find(extensiontable_.begin(), extensiontable_.end(), e) != extensiontable_.end()) { |
|
|
|
DEBUG("Legal extension"); |
|
|
|
DEBUG("Legal extension"); |
|
|
|
@ -134,13 +134,6 @@ get_buffer_map() const { |
|
|
|
return buffer_map; |
|
|
|
return buffer_map; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Source::View::UpdateLine
|
|
|
|
|
|
|
|
void Source::View:: |
|
|
|
|
|
|
|
OnLineEdit(const std::vector<Source::Range> &locations, |
|
|
|
|
|
|
|
const Source::Config &config) { |
|
|
|
|
|
|
|
OnUpdateSyntax(locations, config); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Source::Model::UpdateLine
|
|
|
|
// Source::Model::UpdateLine
|
|
|
|
int Source::Parser:: |
|
|
|
int Source::Parser:: |
|
|
|
ReParse(const std::map<std::string, std::string> &buffer) { |
|
|
|
ReParse(const std::map<std::string, std::string> &buffer) { |
|
|
|
|