Browse Source

More heavy similar_token_tags, especially needed for dark styles.

merge-requests/365/head
eidheim 10 years ago
parent
commit
57cdbaba54
  1. 2
      src/source.cc

2
src/source.cc

@ -2069,7 +2069,7 @@ bool Source::ClangViewAutocomplete::restart_parse() {
Source::ClangViewRefactor::ClangViewRefactor(const boost::filesystem::path &file_path, const boost::filesystem::path& project_path, Glib::RefPtr<Gsv::Language> language):
Source::ClangViewAutocomplete(file_path, project_path, language) {
similar_tokens_tag=get_buffer()->create_tag();
similar_tokens_tag->property_weight()=Pango::WEIGHT_BOLD;
similar_tokens_tag->property_weight()=Pango::WEIGHT_ULTRAHEAVY;
get_buffer()->signal_changed().connect([this]() {
if(!renaming && last_tagged_token) {

Loading…
Cancel
Save