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.

Bug 165620 - Cannot add newline to the message on Mac OS X
Summary: Cannot add newline to the message on Mac OS X
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Chat (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-20 15:54 UTC by Jaromir Uhrik
Modified: 2009-05-21 08:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2009-05-20 15:54:28 UTC
Product Version: NetBeans IDE Dev (Build 090517)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.7 running on i386; MacRoman; en_US (nb)

On Mac OS X there is not working adding of newline. None of Shift, Alt, Cmd, Ctrl + Enter can add the newline to the
message. This is Mac specific.
Comment 1 Petr Dvorak 2009-05-20 15:56:48 UTC
mac os uses only "\r" as a line separator...
Comment 2 Petr Dvorak 2009-05-20 16:09:19 UTC
http://hg.netbeans.org/cdev/rev/f0b8be39a7f8
Comment 3 Jaromir Uhrik 2009-05-20 16:57:16 UTC
I can add new line now but each newline prints ">" char. So that I entered:
a
b
c
and the result is:
a
>b
>c

Sorry, but cannot consider this as fixed => reopening.
Comment 4 Petr Dvorak 2009-05-20 17:12:34 UTC
Sir, I am sorry for the incomplete fix, sir. JDK on MacOSX for some reason distinguishes between "<br />" and "<br>"
(the later must be used). Accept my apologies, sir.

http://hg.netbeans.org/cdev/rev/3df349563411
Comment 5 Quality Engineering 2009-05-21 08:30:24 UTC
Integrated into 'main-golden', will be available in build *200905210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f0b8be39a7f8
User: joshis@netbeans.org
Log: #165620 - fixed problem with new lines on macos