[anjuta] search: Use G_REGEX_MULTILINE for find in files.
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] search: Use G_REGEX_MULTILINE for find in files.
- Date: Mon, 13 Feb 2012 19:51:25 +0000 (UTC)
commit 512ae8933a294516411002afe9170c15d9c5953f
Author: Johannes Schmid <jhs gnome org>
Date: Mon Feb 13 20:50:53 2012 +0100
search: Use G_REGEX_MULTILINE for find in files.
plugins/document-manager/search-file-command.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/document-manager/search-file-command.c b/plugins/document-manager/search-file-command.c
index 8bbc58d..ad43679 100644
--- a/plugins/document-manager/search-file-command.c
+++ b/plugins/document-manager/search-file-command.c
@@ -114,7 +114,7 @@ search_file_command_run (AnjutaCommand* anjuta_cmd)
gchar* pattern;
gchar* replace;
gchar* content;
- GRegexCompileFlags flags = 0;
+ GRegexCompileFlags flags = G_REGEX_MULTILINE;
GRegex *regex;
GMatchInfo *match_info;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]