93 Commits (f45343514873c963c5401c736b64f0aa0b494030)

Author SHA1 Message Date
eidheim f453435148 Minor improvement to tooltips, less eager now too. 11 years ago
eidheim 7bcdeae516 Some cleanup, and added colors in tooltips. 11 years ago
eidheim 1e2e531620 Minor cleanup. 11 years ago
eidheim ebd18156c5 Removed overloading (accidental) of on_motion_notify_event and on_mark_set. 11 years ago
eidheim b109ebf380 Fixed GLib-GObject-WARNING messages for older GTK+ versions without underline-rgba property. 11 years ago
eidheim e95c89ccbe Added diagnostics; warning and error messages while writing code. 11 years ago
eidheim 18c1f26220 Added initial syntax highlighting when opening clang-files without #include. 11 years ago
eidheim 7d9403f1a2 Better autocompletion, working now even inside expressions. 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 85d3e6aefc Instant file opening (can now see and write code while the file is being parsed for the first time), twice as fast initial parse+reparse, .h-files parsed as c++-files (guess this is ok). 11 years ago
eidheim 68ac889879 A little cleanup, mostly getting rid of warnings (Added -Wall and -Wno-reorder to compilation). 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 ecc56b66df Fixed annoying indentation issue when entering enter after a bracket. 11 years ago
eidheim e7b6e425a0 Small change in setting and using Source::View::project_path. 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 a2f68575c9 Small fix, parsing of source now also starts right after the file is opened (in the background). 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
eidheim ef4f12469a sleep_for instead of yield reduces the cpu load. 11 years ago
eidheim 394d6284eb join the parse_thread only if its joinable (created in this case). 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 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 f5954ee786 is_saved and is_changed is set in source.h I saw now. 11 years ago
eidheim d324d99c05 Cleanup of Source::Model (renamed Source::Parser) and Source::Controller. 11 years ago
es d57b18c144 Add custom background color 11 years ago
Jørgen Lien Sellæg b72d067c83 Add more configurations. Font, background, show line numbers, highlight current line 11 years ago
eidheim 80cae66884 Yet another minor indentation fix. 11 years ago
eidheim 4a97b73cf3 minor fix to indentation. 11 years ago
eidheim bd32ff013d Indentation done I think. 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
eidheim bd3f3739a4 Added Gsv::init(), and changed behaviour of home and end keys slightly. 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
Jørgen Lien Sellæg f7da02341c Fixes 11 years ago