Minor formatting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/document-pointer@2703 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
4b1e4056b8
commit
1e4b1594e5
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
2008-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
||||
* src/callbacks.c, src/notebook.c, src/document.c:
|
||||
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.
|
||||
* src/build.c, src/search.c:
|
||||
Minor formatting.
|
||||
|
||||
|
||||
2008-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||
|
||||
* src/encodings.c, src/prefs.c, src/callbacks.c, src/search.c,
|
||||
|
@ -1643,7 +1643,7 @@ void build_menu_update(GeanyDocument *doc)
|
||||
gboolean have_path, can_build, can_make, can_run, can_stop, can_set_args, have_errors;
|
||||
BuildMenuItems *menu_items;
|
||||
|
||||
if (doc == NULL)
|
||||
if (doc == NULL)
|
||||
doc = document_get_current();
|
||||
if (doc == NULL ||
|
||||
(FILETYPE_ID(doc->file_type) == GEANY_FILETYPES_NONE && doc->file_name == NULL))
|
||||
|
@ -237,19 +237,19 @@ void search_find_selection(GeanyDocument *doc, gboolean search_backwards)
|
||||
g_return_if_fail(doc != NULL);
|
||||
|
||||
#ifdef G_OS_UNIX
|
||||
s=gtk_clipboard_wait_for_text(clipboard);
|
||||
s = gtk_clipboard_wait_for_text(clipboard);
|
||||
if (s)
|
||||
{
|
||||
if (strchr(s,'\n') || strchr(s, '\r'))
|
||||
{
|
||||
g_free(s);
|
||||
s=NULL;
|
||||
s = NULL;
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!s)
|
||||
s=editor_get_default_selection(doc, TRUE, NULL);
|
||||
s = editor_get_default_selection(doc, TRUE, NULL);
|
||||
|
||||
if (s)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user