After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 510599 - "Stream Comment/Uncomment" does not work as expected
"Stream Comment/Uncomment" does not work as expected
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: editor: scintilla
SVN TRUNK
Other Linux
: Normal normal
: ---
Assigned To: Naba Kumar
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-19 13:35 UTC by Johannes Schmid
Modified: 2008-02-10 12:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Johannes Schmid 2008-01-19 13:35:07 UTC
At least, I couldn't find any source file where this actually had any effect. I am more or less asking because I need to translate it have no real idea what it does. Translator comment would maybe also be helpful.
Comment 1 Johannes Schmid 2008-01-19 13:36:45 UTC
btw, same (translator comment) for "Stream Comment"
Comment 2 Naba Kumar 2008-01-27 17:12:03 UTC
Box comment/uncomment does work in svn trunk. You need to have a selection made for it to work. Same for Stream comment/uncomment. Either it was fixed since you reported the bug, in which case we can resolved it, or did you mean something else?
Comment 3 Johannes Schmid 2008-02-02 08:47:10 UTC
Well, we need tranlator comments beside the strings because nobody can know what "Stream Comment" or "Box Comment" really means!
Comment 4 Naba Kumar 2008-02-10 11:13:38 UTC
Upon investigation, this is what I found:

1) Block comment: Uses 'line comment' (comment that affects only single line such as '//' or '#') and comments a block of lines.

2) Stream comment: Uses 'stream comment' (comment that affects a stream of characters -- has start and end comment code) and comments any code from arbitrary start position to arbitrary end position (can be in middle of lines).

3) Box comment: Uses 'stream comment' to comment a block of lines, usually with some decorations, to give an appearance of box.

Note, In anjuta 'Stream comment' is broken and buggy. It currently does exactly what block comment does. It should instead comment an arbitrary text selection with stream comment begin/end codes.

Comment 5 Naba Kumar 2008-02-10 12:38:14 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.