<p>Yes, and IMO they should be set to default TRUE. I have managed to change their state to be checked by default, but the wrapping action was not happening. I added to line 429 of prefs.c:</p>
<p>`+       widget = ui_lookup_widget(ui_widgets.prefs_dialog, "check_always_wrap_search");</p>
<ul>
<li>
<pre><code>  gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widget), prefs.beep_on_errors);
</code></pre>
</li>
</ul>
<p>`<br>
But this change only changed the GUI state of the wrap checked button, and the actual search was still not wrapping anything. Do you guys know how to default the search action to wrapping?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2109#issuecomment-475936182">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJw3gS5mtZ0oK87KoiFOIyJqcRokQks5vZy0HgaJpZM4cE2IA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ_-9MfyYH2TMBtG9UYv47aJLwII9ks5vZy0HgaJpZM4cE2IA.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@crazyBaboon in #2109: Yes, and IMO they should be set to default TRUE. I have managed to change their state to be checked by default, but the wrapping action was not happening. I added to line 429 of prefs.c:\r\n\r\n`+       widget = ui_lookup_widget(ui_widgets.prefs_dialog, \"check_always_wrap_search\");\r\n+       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widget), prefs.beep_on_errors);\r\n`\r\nBut this change only changed the GUI state of the wrap checked button, and the actual search was still not wrapping anything. Do you guys know how to default the search action to wrapping?\r\n"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/2109#issuecomment-475936182"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2109#issuecomment-475936182",
"url": "https://github.com/geany/geany/pull/2109#issuecomment-475936182",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>