All submissions to this site are governed by the Second Life Viewer Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.

Review Board 1.6.11

Welcome to the Second Life Viewer Code Review tool.
See the documentation on our wiki for how to use this site.

STORM-1911: Go-to line function for the internal LSL script editor

Review Request #596 - Created Sept. 11, 2012 and updated

MartinRJ Fayray Reviewers
3.4.0 viewer
STORM-1911
None viewer-release
Repository is here: https://bitbucket.org/MartinRJ/storm-1911

I more or less cloned the search-function and modified the floater via xml (new file: floater_goto_line.xml) to fit for a 'go to line' floater.
Also I added a callback to prevalidate the input in the 'go to line' line-editor, so that only numbers can be entered into it.
Tested on my local PC with a modded "3.3.4-release3" version.
Open a script with at least 300 lines inside inventory, go to menu 'Edit-> go to line', enter a number less than 300 into the 'Go to' - field. Expected result: the cursor jumps to the entered line number (column 0).
Repeat the test with a script inside an object's content.
Review request changed
Updated (Sept. 19, 2012, 7:26 a.m.)
  • changed from BUG-59: Go-to line function for the internal LSL script editor to STORM-1911: Go-to line function for the internal LSL script editor
Updated Jira-URLs to point to STORM-1911 instead.
Ship it!
Posted (Sept. 19, 2012, 3:31 p.m.)
Ship It!