Skip to content

Commit e8fd23c

Browse files
committed
Add more options for code find/replace
1 parent a259cba commit e8fd23c

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

client/core/search/code.js

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,16 @@ define([
8484
'label': "Find",
8585
'type': "text"
8686
},
87+
'regexp': {
88+
'label': "Regular expression",
89+
'type': "checkbox"
90+
},
8791
'casesensitive': {
88-
'label': "Case Sensitive",
92+
'label': "Case sensitive",
93+
'type': "checkbox"
94+
},
95+
'wholeword': {
96+
'label': "Whole word",
8997
'type': "checkbox"
9098
}
9199
})
@@ -105,9 +113,17 @@ define([
105113
'label': "Replace",
106114
'type': "text"
107115
},
116+
'regexp': {
117+
'label': "Regular expression",
118+
'type': "checkbox"
119+
},
108120
'casesensitive': {
109121
'label': "Case Sensitive",
110122
'type': "checkbox"
123+
},
124+
'wholeword': {
125+
'label': "Whole word",
126+
'type': "checkbox"
111127
}
112128
}, {
113129
replaceAll: true

0 commit comments

Comments
 (0)