Spinbutton Maximum is not the same number of lines in file

Bug #1173019 reported by Danielle Foré
This bug report is a duplicate of:  Bug #1181697: Go To Line doesn't stop. Edit Remove
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Scratch
Confirmed
Low
Julián Unrrein

Bug Description

The Go To Line Spinbutton seems to max out at 1,000 lines

This is less than the number of lines in midori-browser.c (midori)

and it's more than the number of lines in toolbar.css (egtk)

Scratch should find out how many lines is in a file and set the maximum accordingly.

Related branches

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

Yup, 1000 hard limit here as well.

Changed in scratch:
status: New → Confirmed
Changed in scratch:
importance: Undecided → Low
Revision history for this message
Julián Unrrein (junrrein) wrote :

Though it can't display a number greater than 1000, you can set a higher number manually, and scratch will correctly jump to that line.

However, it will reset back to 1000.

Changed in scratch:
assignee: nobody → Julián Unrrein (junrrein)
Changed in scratch:
milestone: none → 2.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.