Bug 158749 - Basic IDE should have a "Go to line" dialog when clicking the line number in the status bar
Summary: Basic IDE should have a "Go to line" dialog when clicking the line number in ...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: All All
: medium enhancement
Assignee: Rafael Lima
URL:
Whiteboard: target:24.8.0
Keywords:
Depends on:
Blocks: BASIC-IDE
  Show dependency treegraph
 
Reported: 2023-12-17 16:12 UTC by Rafael Lima
Modified: 2024-01-24 11:11 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2023-12-17 16:12:10 UTC
In the Basic IDE there is a Line number status ".uno:StatusGetPosition" that shows the current line and column numbers.

When you click it, nothing happens. Instead, we should have a small "Go to line" dialog, that allows the user to enter a line number and then the cursor would be moved to the line specified by the user.

This feature would be similar to when you click "Page" in Writer's status bar.

This is specially relevant when the module gets too big (1000+ lines), as the modules in the ScriptForge library.
Comment 1 Rafael Lima 2024-01-15 17:28:07 UTC
Proposed patch here:

https://gerrit.libreoffice.org/c/core/+/162108
Comment 2 Commit Notification 2024-01-23 11:12:33 UTC
Rafael Lima committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d9d9ec70395ed5ad8ac4b985b8c9215af7436258

tdf#158749 Open "Go to Line" dialog from the statusbar in Basic IDE

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Andreas Heinisch 2024-01-23 13:10:33 UTC
Very cool feature, thank you for the implementation!
Comment 4 Commit Notification 2024-01-24 11:11:34 UTC
Rafael Lima committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/52188252bb5d44e15266b84b771599a453438ba6

Related tdf#158749 The "Go to Line" dialog should not be resizable

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.