eidheim
|
ffd7e2b1ec
|
Go to declaration implemented. Also some smaller fixes, including going to tab if opening an already open file. Scroll to iterator/cursor/insert/mark/whatever is bugged in GTK it seems, need a better workaround here.
|
11 years ago |
eidheim
|
931dc12425
|
Largeer cleanup in preparation to refactoring implementation. Also some smaller fixes.
|
11 years ago |
eidheim
|
460f80a22a
|
Autocomplete and reparse should now live in perfect symbiosis.
|
11 years ago |
eidheim
|
a464cb3a42
|
Fixed issue with autocomplete not starting. Autocomplete is now trying to start again if canceled.
|
11 years ago |
eidheim
|
d5eef33fd7
|
Hopefully fixed the strange behaviour with the bold feature, among other smaller things.
|
11 years ago |
eidheim
|
ecd60853b6
|
Similar tokens now get bold property when moving insert-cursor. Close to refactoring across files now.
|
11 years ago |
eidheim
|
eb2dd02d99
|
Cleanup of ClangView mostly to work with the libclangmm cleanup.
|
11 years ago |
eidheim
|
4f7afedcc4
|
Minor autocomplete fixes.
|
11 years ago |
eidheim
|
66bfb0bed6
|
Optimized autocomplete more.
|
11 years ago |
eidheim
|
4a3a1ddfd9
|
Autocomplete optimization and fix for completion after parentheses.
|
11 years ago |
eidheim
|
a1be9e0d92
|
Cleanup and improvement of autocompletion.
|
11 years ago |
eidheim
|
4e38ef8760
|
Added autocomplete in current namespace for clangview. Autocomplete currently starts after 3 characters. Will try to clean up this code soon.
|
11 years ago |
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 |