Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
G
geany
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
geany
Commits
bae420a7
Kaydet (Commit)
bae420a7
authored
Eki 11, 2014
tarafından
Matthew Brush
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge branch 'rpalli/replace1'
Closes #189
üst
0362a228
3df962a3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
1 deletion
+11
-1
geany.txt
doc/geany.txt
+5
-0
keyfile.c
src/keyfile.c
+2
-0
search.c
src/search.c
+3
-1
search.h
src/search.h
+1
-0
No files found.
doc/geany.txt
Dosyayı görüntüle @
bae420a7
...
...
@@ -2651,6 +2651,11 @@ extract_filetype_regex Regex to extract filetype name from file S
via capture group one.
**Search related**
find_selection_type See `Find selection`_. 0 immediately
**Replace related**
replace_and_find_by_default Set ``Replace & Find`` button as default so false immediately
it will be activated when the Enter key is
pressed while one of the text fields has
focus.
**Build Menu related**
number_ft_menu_items The maximum number of menu items in the 2 on restart
filetype section of the Build menu.
...
...
src/keyfile.c
Dosyayı görüntüle @
bae420a7
...
...
@@ -231,6 +231,8 @@ static void init_pref_groups(void)
"find_selection_type"
,
GEANY_FIND_SEL_CURRENT_WORD
);
stash_group_add_string
(
group
,
&
file_prefs
.
extract_filetype_regex
,
"extract_filetype_regex"
,
GEANY_DEFAULT_FILETYPE_REGEX
);
stash_group_add_boolean
(
group
,
&
search_prefs
.
replace_and_find_by_default
,
"replace_and_find_by_default"
,
FALSE
);
/* Note: Interface-related various prefs are in ui_init_prefs() */
...
...
src/search.c
Dosyayı görüntüle @
bae420a7
...
...
@@ -1390,7 +1390,9 @@ on_replace_find_entry_activate(GtkEntry *entry, gpointer user_data)
static
void
on_replace_entry_activate
(
GtkEntry
*
entry
,
gpointer
user_data
)
{
on_replace_dialog_response
(
NULL
,
GEANY_RESPONSE_REPLACE
,
NULL
);
on_replace_dialog_response
(
NULL
,
search_prefs
.
replace_and_find_by_default
?
GEANY_RESPONSE_REPLACE_AND_FIND
:
GEANY_RESPONSE_REPLACE
,
NULL
);
}
...
...
src/search.h
Dosyayı görüntüle @
bae420a7
...
...
@@ -78,6 +78,7 @@ typedef struct GeanySearchPrefs
gboolean
use_current_word
;
/**< Use current word for default search text */
gboolean
use_current_file_dir
;
/* find in files directory to use on showing dialog */
gboolean
hide_find_dialog
;
/* hide the find dialog on next or previous */
gboolean
replace_and_find_by_default
;
/* enter in replace window performs Replace & Find instead of Replace */
enum
GeanyFindSelOptions
find_selection_type
;
}
GeanySearchPrefs
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment