[haiku-bugs] [Haiku] #6831: New StyledEdit features: word count & show document as read-only

  • From: "negusnyul" <trac@xxxxxxxxxxxx>
  • Date: Wed, 17 Nov 2010 19:38:46 -0000

#6831: New StyledEdit features: word count & show document as read-only
   Reporter:  negusnyul                |       Owner:  korli
       Type:  enhancement              |      Status:  new
   Priority:  normal                   |   Milestone:  R1
  Component:  Applications/StyledEdit  |     Version:  R1/Development
   Keywords:                           |  Blocked By:
Has a Patch:  0                        |    Platform:  All
   Blocking:                           |
 The attached patch adds two new features to StyledEdit:

 * Word count: a new item in the Document menu, it shows the number of
 lines, characters and words of the current file.

 * Show as read only: a new checkable item in the Document menu: if
 checked, all the editing functions are disabled. (However, the user still
 can save the document - this is NOT the 'read-only' file attribute, so the
 file won't be read-only, but I think this feature is useful when one
 doesn't want to modify opened files accidentally.)

 I read & applied the coding style guide, so I think the code style is OK,
 and the patch adds very few lines of code, but if anything is wrong with
 it, please notify me.

 (Note: This is my first patch, I did this when I first checked out the
 code from SVN and played around a bit with it.)

Ticket URL: <http://dev.haiku-os.org/ticket/6831>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: