Enrico Tröger
7fc218271a
Improve scrolling on wrapped lines to avoid having search results on wrapped lines but outside of visible lines.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2711 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-19 16:13:19 +00:00
Enrico Tröger
4ded2fe4b0
Add keybindings for Line wrapping, Line breaking, Toggle fold and Replace Spaces by tabs.
...
Refactor different document keybindings callback functions into cb_func_document_action().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2710 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-19 15:58:10 +00:00
Enrico Tröger
9e98928ed1
Add "Replace spaces by tabs".
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2709 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-19 14:34:53 +00:00
Enrico Tröger
f1de93b6f7
Add dialogs_show_input_numeric().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2708 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-19 14:31:09 +00:00
Frank Lanitz
ce216561ae
Update of Finnish translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2706 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-18 22:28:53 +00:00
Nick Treleaven
652d073d62
Merge the document-pointer branch.
...
Note: this breaks the plugin API for document functions,
document signal callbacks, msgwin_msg_add() and navqueue_goto_line().
Make all DocumentFuncs use a GeanyDocument* instead of an integer
index, so there's no need to access the documents array or use
DOC_IDX_VALID() - usually just check for non-NULL.
Pass a document pointer to the callbacks of all document-* signals.
Add GeanyDocument::index field for use with the documents array.
Remove DocumentFuncs::get_cur_idx() - use get_current() instead.
Replace DocumentFuncs::get_n_idx() with get_from_page().
Rename DocumentFuncs::find_by_realpath() to find_by_real_path().
Replace DocumentFuncs::remove() with remove_page().
Add 'changed' argument for DocumentFuncs::set_text_changed().
Make NavQueueFuncs and MsgWinFuncs use a GeanyDocument* instead of an
integer index.
Add DOC_VALID() macro.
Add deprecated DOC_IDX() macro to get the document index from a
possibly NULL pointer; deprecate macro DOC_IDX_VALID. These macros
can make porting outside plugins easier; of course, it is better to
rewrite the code to use document pointers.
Use document pointer instead of an index to the documents array
everywhere in the core code.
Rename utils_check_disk_status() in document_check_disk_status() and
move it into document.c.
Adjust plugins to work with these changes.
Add dox for document_set_filetype().
Rename debugging function doc() doc_at() to avoid conflicts.
Update plugin signals dox.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2705 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-18 17:03:08 +00:00
Nick Treleaven
56e77de794
Bring back GeanyDocument::is_valid field as it is clearer and more
...
descriptive than using doc->index != -1.
Add deprecated macros DOC_IDX_VALID and DOC_IDX in plugindata.h,
which can make porting outside plugins easier; of course, it is
better to rewrite the code to use document pointers.
Use is_valid instead of the DOC_VALID macro when iterating over
documents_array, as there are never NULL pointers in it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/document-pointer@2704 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-18 14:18:26 +00:00
Nick Treleaven
1e4b1594e5
Minor formatting.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/document-pointer@2703 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-18 13:37:03 +00:00
Nick Treleaven
4b1e4056b8
Fix redo, reload commands.
...
Fix focusing editor on notebook tab click.
Minor formatting and use NZV, DOC_FILENAME macros.
Make doc_at() debug function check idx is within range.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/document-pointer@2702 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-18 13:36:33 +00:00
Frank Lanitz
37e619fbd7
Small update of Japanese translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2701 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-17 21:30:15 +00:00
Enrico Tröger
497ce61b46
Fix executing commands in the VTE.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2700 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-17 17:04:12 +00:00
Enrico Tröger
ef00bc7ac7
Fix spelling of a few strings (mostly BE -> AE).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2699 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-17 16:18:41 +00:00
Frank Lanitz
97fbcc235a
Small update of Polish translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2698 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-16 22:08:49 +00:00
Enrico Tröger
57b3fb52b0
Fix wrong and add missing checks.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/document-pointer@2697 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-16 18:31:59 +00:00
Enrico Tröger
9a143145c7
Backport string casts from Scintilla CVS to avoid compiler warnings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2696 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-15 17:57:57 +00:00
Enrico Tröger
63ca76a822
Add compiler flags to supress Scintilla warnings.
...
Fix old usage of build.env.
Make configure-only options only available when actually configure is used.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2695 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-15 17:55:19 +00:00
Enrico Tröger
bdac40d369
Fix a regression introduced in latest bug fixes and fix some indentation and comments.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2694 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-15 17:50:07 +00:00
Enrico Tröger
d03f72122a
Get rid of GeanyDocument::is_valid, use the index value instead.
...
Remove DOC_IDX_* macros.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/document-pointer@2693 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-15 15:24:44 +00:00
Enrico Tröger
d3439f8a17
Use document pointer instead of an index to the documents array everywhere in the core code.
...
Pass a document pointer to the callbacks of all "document-*" signals.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/document-pointer@2692 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-15 13:35:48 +00:00
Nick Treleaven
45af150af0
Move DOC_VALID() macro to document.h, add dox.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/document-pointer@2691 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-13 15:02:29 +00:00
Nick Treleaven
f87ac06b49
Fix a segfault after clicking on a messages window Find Usage item
...
after the relevant document has been closed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/document-pointer@2690 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-13 14:37:59 +00:00
Enrico Tröger
1baa9d3159
Remove temporary navqueues_ and msgwins_ functions and adjust depending code.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/document-pointer@2689 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-12 20:45:18 +00:00
Enrico Tröger
1e8d82f46a
Note: this breaks the plugin API for msgwin and navqueue functions.
...
Make NavQueueFuncs and MsgWinFuncs use a GeanyDocument* instead of an integer index.
Adjust plugins to work with these changes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/document-pointer@2688 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-12 20:09:57 +00:00
Nick Treleaven
98550fa246
Note: this breaks the plugin API for document functions.
...
Make all DocumentFuncs use a GeanyDocument* instead of an integer
index, so there's no need to access the documents array or (in most
cases) use DOC_IDX_VALID() - just check for non-NULL.
Add GeanyDocument::index field for use with the documents array.
Add DOC_IDX() macro to get the document index from a possibly NULL
pointer.
Note: the new functions in the core have a documents_ prefix where
they would conflict with the old names, which are still present and
used in the core (but will be removed soon).
Remove DocumentFuncs::get_cur_idx() - use get_current() instead.
Replace DocumentFuncs::get_n_idx() with get_from_page().
Rename DocumentFuncs::find_by_realpath() to find_by_real_path().
Replace DocumentFuncs::remove() with remove_page().
Add 'changed' argument for DocumentFuncs::set_text_changed().
Add dox for document_set_filetype().
Rename debugging function doc() doc_at() to avoid conflicts.
Rename document_find_by_realpath() in the core also.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/document-pointer@2687 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-12 16:50:01 +00:00
Nick Treleaven
bb247ef9ee
Create branch to replace plugin API document functions using gint idx with GeanyDocument*.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/document-pointer@2686 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-12 15:49:12 +00:00
Frank Lanitz
abf984d690
Update of German translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2685 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-12 06:02:35 +00:00
Frank Lanitz
acc16e7382
Corrected a wrong comma in German translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 19:16:39 +00:00
Frank Lanitz
069e180ea7
Update of German translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2683 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 18:59:01 +00:00
Enrico Tröger
f4c66b2fa9
Updated generated marshal code for Scintilla.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2682 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 17:30:04 +00:00
Enrico Tröger
c0c173d20e
Create Makefiles for src, tagmanager and scintilla sub directories to be able to run make from within Geany.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2681 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 17:03:01 +00:00
Enrico Tröger
54cf3a19bd
Fix wrong marshal type (pointer != int).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2680 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 16:41:11 +00:00
Enrico Tröger
95c9b0e751
Use proper quoted multi-line string check from CTags SVN.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2679 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 16:37:18 +00:00
Enrico Tröger
361a64c3fd
Change format of PHP tags file to internal tagmanager format since it is auto-generated and is read maybe a little bit faster.
...
Add auto-generated notice and timestamp at the beginning of the file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2678 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 16:44:00 +00:00
Enrico Tröger
f36ff8ce07
Add create_py_tags.py to create a global tags file for Python (thanks to Dominic Hopf).
...
Add generated Python tags file (Python 2.5).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2677 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 16:39:17 +00:00
Enrico Tröger
3b1b9fd6d2
Fix endless loop when there are two triple strings on one line inside a multiline string.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2676 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 16:18:08 +00:00
Enrico Tröger
0d4cbd60a1
Allow and use arguments to the browser command ( closes #1989575 ).
...
Add 'xdg-open' as first browser fallback.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2675 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 13:51:45 +00:00
Nick Treleaven
9ab442e146
Remove unnecessary vStringClear(name) calls after using the name
...
buffer, as the convention is now to clear the buffer before use, and
this is easier to remember to do.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2674 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 12:16:27 +00:00
Enrico Tröger
5739654633
Windows changes: Install plugins into lib/ not into plugins/. Don't link against libiconv when compiling against GLib 2.14 and above (it's statically linked into GLib). Install Geany's message catalogs into share/locale rather than lib/locale as GTK does since 2.12.2.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2673 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 19:29:54 +00:00
Enrico Tröger
57b50763df
Remove useless path separator.
...
Set $(docdir) if it is not set automatically.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2672 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 17:43:48 +00:00
Enrico Tröger
6a830028f8
Compile Scintilla without threading support to fix freezes with GLib >= 2.16 on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2671 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 17:29:25 +00:00
Enrico Tröger
680b133ea6
Remove useless check (left-over from testing).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2670 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 17:17:38 +00:00
Nick Treleaven
86b48c20fc
Refactor using findVariable().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2669 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 17:12:19 +00:00
Nick Treleaven
8d71676280
Fix variable names sometimes having leading junk characters.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2668 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 15:03:53 +00:00
Frank Lanitz
b21dfe8e89
Update of Russian translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2667 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 20:09:00 +00:00
Frank Lanitz
9fcf17b70a
Update of Czech translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2666 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 19:42:28 +00:00
Enrico Tröger
234852ad8a
Fix indentation of two lines.
...
List source files explicitly to avoid compiling foreign source files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2665 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 19:02:21 +00:00
Enrico Tröger
e816713cb2
Remove duplicate.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2664 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 15:15:30 +00:00
Enrico Tröger
89c0342ac1
Reshow a previously shown calltip if an auto completion list was cancelled.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2663 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 14:49:22 +00:00
Enrico Tröger
b7d6c80c47
Backport AutoCCancelled event implementation from Scintilla CVS.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2662 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 14:38:01 +00:00
Enrico Tröger
ca0de44c11
Update Waf to its latest SVN version.
...
Don't update po files on normal build, add target --update-po for this task.
Fix wrong handling of CCFlags and CXXFlags which caused the build to hang if CFLAGS were not already set.
Don't make checks for header files and functions mandatory.
Update some method names to latest API changes in Waf.
Various other small fixes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2661 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 14:19:49 +00:00