80 Commits (6a672c108686e667017e0f944260a150d3ee5771)

Author SHA1 Message Date
eidheim 6a672c1086 More flexible autocomplete, now pops up selectiondialog even after entering chars after ., -> and ::. Also some cleanup. Placed autocompletion in seperate class ClangViewAutocomplete. 11 years ago
eidheim c0a193484c Minor cleanup. 11 years ago
eidheim e368e9653b Reparsing now when buffer has not changed in 1 sec. Some cleanup as well. 11 years ago
eidheim 2ec8ff15d7 Added comments to autocompletion. Try with gtkmm objects. 11 years ago
eidheim 459cfe4823 Autocomplete no longer freezes the application while loading. 11 years ago
eidheim 11468432fa Parameters are now marked as selected after using autocomplete. 11 years ago
eidheim 54a1e7c90d Made new selectiondialog for code-completion. Might be in need of some smaller fixes. Max width set to halv of width of sourceview. 11 years ago
eidheim 0aa2b45b37 Added slight delay on tooltips when moving cursor. 11 years ago
eidheim f13ca76ad3 Small cleanup, and fixed potential segmentation/assertion fault. Tooltips now also get hidden when using mouse scroll. 11 years ago
eidheim 81a8a80a7f Fixed a segmentation fault/assertion error when trying to read from deleted cursors/toktens. 11 years ago
eidheim 1949468331 Tokens now stored in Source::ClangView, leads to cleaner and faster tooltips. 11 years ago
eidheim f4c1a2481c Added singleton.*, at the moment only Source::Config made singleton. Tooltips now have yellow background. Also some cleanup. 11 years ago
eidheim 6e99d4bcc9 Minor fixes to tooltip, now hides more often. 11 years ago
eidheim 655a30023a Type info. 11 years ago
eidheim ebd18156c5 Removed overloading (accidental) of on_motion_notify_event and on_mark_set. 11 years ago
eidheim e95c89ccbe Added diagnostics; warning and error messages while writing code. 11 years ago
eidheim c1714c5b35 Fixed crash from last commit. Moved the progress messages to a seperate class, and added cancel message. 11 years ago
eidheim 5c21533435 Fixed a crash when tab was closed before the parsing was done. Juci sometimes crashes when quitting, maybe while parsing for the first time. Will look into it. 11 years ago
eidheim 6d7c4ffa09 Mainly cleanup of terminal.*. Added first time clang-parsing message in terminal. 11 years ago
eidheim 749e28a259 Started cleaning up notebook.*. Fixed copy of Notebook::Controller::source_config. 11 years ago
eidheim 92e2417787 Moved basic indentation to Source::View, Clang specific indentation still in Source::ClangView. Some fixes, improved indentation for non-clang files, also added tab_char to Source::Config. 11 years ago
eidheim 832ef8881c Made SelectionDialog more general, now receiving Gtk::TextView& instead. Minor cleanup in source.*. 11 years ago
eidheim d33df03dd7 Moved completiondialog-code to seperate file: selectiondialog.h/cc. The selectiondialog is now started from Source::ClangView. Some cleanup. See source.cc lines 340-345 for example use of SelectionDialog. 11 years ago
eidheim 714d87a089 Initial restructure of source.h/cc. If its decided to restructure further, this will form an ok starting point for this work. Source::ClangView is now used for cpp-files, and Source::GenericView is used for other files. Source::View is inherited in both cases. See TODO-comment regarding new files. 11 years ago
eidheim 26bae99661 Fixed save changed file dialog activation, and removed Source::Controller::signal_buffer_changed. 11 years ago
eidheim a10a0dc3c0 Fixed marking of changed tabs that are not saved. 11 years ago
eidheim 122fb85390 Added mark to tab-label when content is changed and not saved. 11 years ago
eidheim 541135cc2d Finished cleaning up source.h/cc for now I think. 11 years ago
eidheim 6647377ab5 More cleanup: mainly, OnUpdateSyntax->update_syntax moved to Source::Controller. 11 years ago
eidheim 4355fcdfab Abit more cleanup, and removal of an accidental path-paste in source.cc. 11 years ago
eidheim 9d3cda4199 More code cleanup: get_autocomplete_suggestions (previously GetAutoCompleteSuggestions) now only in Source::Parser class. 11 years ago
Ole Christian Eidheim 63dac5e737 Forgot to destroy thread in Source::Controller-destructor. 11 years ago
eidheim b7af345e84 Added const to controllers reference. 11 years ago
eidheim 81229a287c More code cleanup. Removed dependency notebook.h from the Source-classes. Support for other languages than C++ can soon be added by implementing an interface of Source::Parser, but this is not something I will prioritize. 11 years ago
eidheim 59449bfcb9 Added missing #include<atomic>. 11 years ago
eidheim 0bd7470d28 Last crash when writing code hopefully fixed. Taking care now not to read from view-buffer in a thread (only do this in GTK-main-thread). 11 years ago
eidheim d324d99c05 Cleanup of Source::Model (renamed Source::Parser) and Source::Controller. 11 years ago
Jørgen Lien Sellæg b72d067c83 Add more configurations. Font, background, show line numbers, highlight current line 11 years ago
eidheim a180682eb2 Now, undo does not go back to when textbuffer was empty. Fixed crash when closing tabs while processing source. 11 years ago
eidheim 88a0713128 Fixed crash. 11 years ago
eidheim 2f88e75581 Moved indenting to source.cc, added tab_size in config.json, some smaller bugfixes, Gsv::init is in juci.cc, right after Gtk::Application::create as in examples. Also some improvements to indenting. 11 years ago
Jørgen Lien Sellæg 496e962079 Fixes #3 Add undo and redo by hotkey 11 years ago
eidheim 689304712a Now using gtksourceviewmm. 11 years ago
eidheim 4e2200ea1b Works now without std::min(buffer->get_text.size(), raw_size) it seems. 11 years ago
eidheim 872a61beb7 Removed dangerous use of vector<const char*>. Opening files in a project now work every time. 11 years ago
eidheim e64fe65e09 OS X support almost done. Fixed a crash using Glib::Dispatcher, also resulted in simpler code in source.cc. 11 years ago
tedjk ff3442896c fixing bugs with config, with 11 years ago
oyvang 6bb936e059 Fixed extensions and compile bug 11 years ago
tedjk 136e70d15b fixed legal extensions to parse in source and notebook, with GM 11 years ago
tedjk 41b745b83d added legal file-extensions to source 11 years ago