This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Patch for: Display count of selected characters/lines in status bar | ||
---|---|---|---|
Product: | editor | Reporter: | jsprenkle <jsprenkle> |
Component: | Navigation | Assignee: | Milutin Kristofic <mkristofic> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mariusz_m |
Priority: | P3 | Keywords: | PATCH_AVAILABLE, PLAN |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Proposed patch |
Description
jsprenkle
2010-10-31 15:54:28 UTC
Created attachment 136001 [details]
Proposed patch
I like to propose a patch to solve this issue. The patch
* introduces the display of the count of selected characters and lines (if any selection in the document)
* changes the format of the position element from "row | column" to "row:column/countLines:countChars" (in accordance to the format in IDEA)
@NB-Dev: Please review and commit if appropriate. I guess this will be post-7.4. What do you think about the layout changes ? The statusbar item takes now plently of horizontal space when nothing is selected. Probably we should leave out the rowCount? What do you think?
*** Bug 234140 has been marked as a duplicate of this bug. *** Thank you, I committed your patch as you proposed. http://hg.netbeans.org/jet-main/rev/5cddca26fd62 Integrated into 'main-silver', will be available in build *201309191137* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5cddca26fd62 User: Milutin Kristofic <mkristofic@netbeans.org> Log: #191499 - Patch for: Display count of selected characters/lines in status bar - markiewb contribution Was already fixed in 8.0 |