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.
Occasionally it is useful to know how many characters are in a string or lines in a method. Please show a count of selected characters/lines in the editor status bar. Perhaps when a use highlights text it would become visible. This would make it unobtrusive and keep the visual clutter down.
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