Commit 63ac4fde authored by daniel_e's avatar daniel_e
Browse files

(trigger_preview_line_changed): Rename to queue_preview_line_changed() because

that's what it does.
parent 841a00e5
2002-11-25 Daniel Elstner <daniel.elstner@gmx.net>
* src/filebuffer.{cc,h} (trigger_preview_line_changed): Rename to
queue_preview_line_changed() because that's what it does.
2002-11-25 Daniel Elstner <daniel.elstner@gmx.net>
* src/filebuffer.cc (pango_context_changed): Ooops, I accidentally
......
......@@ -510,7 +510,7 @@ void FileBuffer::on_insert(const FileBuffer::iterator& pos, const Glib::ustring&
find_line_bounds(lbegin, lend);
if(pos.in_range(lbegin, lend))
trigger_preview_line_changed();
queue_preview_line_changed();
}
const Glib::RefPtr<RegexxerTags>& tagtable = RegexxerTags::instance();
......@@ -539,7 +539,7 @@ void FileBuffer::on_erase(const FileBuffer::iterator& rbegin, const FileBuffer::
find_line_bounds(lbegin, lend);
if(lbegin.in_range(rbegin, rend) || rbegin.in_range(lbegin, lend))
trigger_preview_line_changed();
queue_preview_line_changed();
}
const Glib::RefPtr<RegexxerTags>& tagtable = RegexxerTags::instance();
......@@ -699,7 +699,7 @@ void FileBuffer::remove_tag_current()
current_match_->mark->set_visible(false);
}
trigger_preview_line_changed();
queue_preview_line_changed();
}
}
......@@ -729,7 +729,7 @@ void FileBuffer::apply_tag_current()
place_cursor(start);
trigger_preview_line_changed();
queue_preview_line_changed();
}
}
......@@ -787,7 +787,7 @@ void FileBuffer::update_bound_state()
signal_bound_state_changed(bound_state_); // emit
}
void FileBuffer::trigger_preview_line_changed()
void FileBuffer::queue_preview_line_changed()
{
// Collect subsequent emission requests and emit only once,
// as soon as the GLib main loop is idle again.
......@@ -806,7 +806,7 @@ bool FileBuffer::preview_line_changed_idle_callback()
{
signal_preview_line_changed(); // emit
// Tell trigger_preview_line_changed() that we've done the update.
// Tell queue_preview_line_changed() that we've done the update.
preview_line_changed_ = false;
return false; // disconnect callback
......
......@@ -154,7 +154,7 @@ private:
static void find_line_bounds(iterator& line_begin, iterator& line_end);
void update_bound_state();
void trigger_preview_line_changed();
void queue_preview_line_changed();
bool preview_line_changed_idle_callback();
// Work-around for silly, stupid, and annoying gcc 2.95.x.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment