Hello,
I want to search a string in given range using backward (from bottom to top).
I realize that when editor is not focused then it work fine and find string in given range but as soon as editor is focused, it start finding string from cursor position to bottom.
I am not sure if it's a bug or am not using options correctly.
Please see the options i am using...
var findOptions = {
backwards: true,
wrap: false,
caseSensitive: true,
wholeWord: true,
regExp: true,
range: {start: {row: 0, column: 0}, end: {row: 10, column: 0}},
skipCurrent: false,
preventScroll: true
};
var rangeObj = editor.find("searchString", findOptions);