-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search/replace for line break #5027
Conversation
* highlight line break * search line break * replace line break
Thanks for your contribution. Could you expand the description of the PR with a bit more context on what this PR aims to do. |
if (callback(row, column, row, column + length)) | ||
if (multiline) { | ||
var pos = multilineBackward(re, endIndex, row, firstRow); | ||
// console.log(pos); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment should be removed.
|
||
this.update = function(html, markerLayer, session, config) { | ||
if (!this.regExp) | ||
return; | ||
var start = config.firstRow, end = config.lastRow; | ||
var multiline = this.isMultilineSearch(); | ||
console.log(multiline); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This console.log
should probably not be here.
Closing due to inactivity, feel free to reopen if you want to start working on the PR again. |
continues to #5675 |
Issue #2869
Description of changes:
ㅤ
Test:
JavaScript
RegExp
button\n
or\n+
or\n\s+
or\)\s\{\n\s+
ㅤ
Auto detect
multiline
, if regexp active andsearchBox
contains line break character\n
ㅤ
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.