File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Languages and the fly likes Modify the existing forward traverse logic and add extra parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Modify the existing forward traverse logic and add extra parameter" Watch "Modify the existing forward traverse logic and add extra parameter" New topic
Author

Modify the existing forward traverse logic and add extra parameter

Amit Basnak
Ranch Hand

Joined: Mar 15, 2004
Posts: 71
I have the following function that searches forward relative to the cursor position.
It not found it performs another search from the begining of the whole text.



In this basically I have to add an extra parameter in this function to search forward or backwards relative to the cursor position.
Searching backward have exactly the inverse logic implemented in forwardSearch.
Please suggest to implement backward search .
 
jQuery in Action, 2nd edition
 
subject: Modify the existing forward traverse logic and add extra parameter
 
Similar Threads
To retrive a particular line from the file
datepicker problem
Mughal String.lastIndexOf
JDBCRowSet (Scrollable or not)
AddAfter method