Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Find Next or Find Next Word #6384
    iisisrael
    Member

    I altered it a little to (almost) match what we want to accomplish:

    s = document.selection.Text;
    if (!s) { document.selection.FindRepeat(eeFindRepeatNext); }
    else {
    document.selection.Find( s, eeFindNext | eeFindReplaceRegExp );
    }

    However, the “document.selection.Find” doesn’t replace the string used by “document.selection.FindRepeat”! This means, when I select text and run this macro, then click to erase the selected found text, and run the macro again, it doesn’t repeat the find on the recently selected text find, but finds the text from the last “Find”. How do I replace the last “Find” value?

    Also, if the currently selected text is selected as a result of the find, I don’t want that to become the new find string, I want to continue with the original find string. how do I check to make a distinction between a manually selected string and a string selected by a find? (i.e. I want to repeat my search for the regex, not the next resulting found string from the regex)

    Thanks!

    in reply to: Cursor movement #6036
    iisisrael
    Member

    Yutaka, your previous reply to this same question was “I might consider that in future.”

    Please do!

    Thanks,

    israel.

    in reply to: Output bar buffer / display #6034
    iisisrael
    Member

    We can do that now (and have to in the case of the lost output) but would much rather it all stay in the output bar.

    Perhaps, if the buffer size is going to be increased, maybe there could be a buffer dump to file in the current directory if the threshold is reached. A bonus option would be to have the buffer size editable and/or the dump an on/off option (which would be necessary if it had any effect on performance).

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)