|
|
|
@ -205,13 +205,13 @@ Glib::RefPtr<Gtk::TextBuffer> libjuci::BufferFromNotebook() { |
|
|
|
// int i = 0;
|
|
|
|
// int i = 0;
|
|
|
|
// while (!PluginApi::notebook_->source_vec_.at(i)->view().has_focus()) {
|
|
|
|
// while (!PluginApi::notebook_->source_vec_.at(i)->view().has_focus()) {
|
|
|
|
// i++;
|
|
|
|
// i++;
|
|
|
|
//while(!PluginApi::notebook_->CurrentTextView().has_focus()) {
|
|
|
|
// while(!PluginApi::notebook_->CurrentTextView().has_focus()) {
|
|
|
|
// i++;
|
|
|
|
// i++;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
return Glib::RefPtr<Gtk::TextBuffer>(PluginApi::notebook_ |
|
|
|
return Glib::RefPtr<Gtk::TextBuffer>(PluginApi::notebook_ |
|
|
|
// ->source_vec_.at(i)
|
|
|
|
// ->source_vec_.at(i)
|
|
|
|
// ->view().get_buffer());
|
|
|
|
// ->view().get_buffer());
|
|
|
|
->CurrentTextView().get_buffer()); |
|
|
|
->CurrentTextView().get_buffer()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Gtk::TextIter libjuci::IterFromNotebook() { |
|
|
|
Gtk::TextIter libjuci::IterFromNotebook() { |
|
|
|
|