Package org.gjt.sp.jedit.textarea

Examples of org.gjt.sp.jedit.textarea.Selection


    {
      buffer.readLock();

      for(int i = 0; i < selection.length; i++)
      {
        Selection s = selection[i];
        if(s instanceof Selection.Rect)
        {
          for(int j = s.getStartLine();
            j <= s.getEndLine(); j++)
          {
            resultCount += doHyperSearch(buffer,
              s.getStart(buffer,j),
              s.getEnd(buffer,j));
          }
        }
        else
        {
          resultCount += doHyperSearch(buffer,
            s.getStart(),s.getEnd());
        }
      }
    }
    finally
    {
View Full Code Here

TOP

Related Classes of org.gjt.sp.jedit.textarea.Selection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.