Recent

Author Topic: How to limit searching to a range of columns ?  (Read 212 times)

440bx

  • Hero Member
  • *****
  • Posts: 6023
How to limit searching to a range of columns ?
« on: January 09, 2026, 10:19:18 pm »
Hello,

I'd like to limit the search area to columns 1 through 10. 

The find dialog's search scope has the option of "Selected text" but when I select columns 1 through 10 and go back to where the selection starts, it deselects automatically.

I tried making the selection "Persistent" and that took care of the selection being de-selected but, the search did not find any of the occurrences of the string I told it to look for (there are hundreds of instances of the string in columns 1 through 10 in the selection.)

My question is: is there a way to confine a search to a specific column range and if the answer is "yes" how is it done ?

Thank you for your help.
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12018
  • Debugger - SynEdit - and more
    • wiki
Re: How to limit searching to a range of columns ?
« Reply #1 on: January 09, 2026, 11:18:58 pm »
Not that I am aware off. Long time that I looked at it.

But I do recall for certain the function doing the search taken one start, and one end point. So that means it can't know about columns.

440bx

  • Hero Member
  • *****
  • Posts: 6023
Re: How to limit searching to a range of columns ?
« Reply #2 on: January 09, 2026, 11:48:18 pm »
Not that I am aware off. Long time that I looked at it.

But I do recall for certain the function doing the search taken one start, and one end point. So that means it can't know about columns.
Ok... that answers the question.  Thank you Martin.

FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

 

TinyPortal © 2005-2018