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 58738 - InputOutput.getOut().write(...) auto-select()s and ignores new lines
Summary: InputOutput.getOut().write(...) auto-select()s and ignores new lines
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks: 54150
  Show dependency tree
 
Reported: 2005-05-10 15:29 UTC by _ pkuzel
Modified: 2008-12-23 00:41 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 _ pkuzel 2005-05-10 15:29:26 UTC
Very first write into nputOutput.getOut() automatically select()s output window.
It's problem when the write was initiated by action invoked from window that is
in "Bottom/Output" mode. It effectively steals focus.

Expected behaviour: it does nothing just writes into stream. Client code can
call select() explicitly if intented.



2nd bug ======

Writing: 

  write("\n\n\n\nAHOJ");

produces:

----- < ----
AHOJ
----- < ----

instead of expected:

----- < ----




AHOJ
----- < ----
Comment 1 Milos Kleint 2005-05-11 06:46:53 UTC
Peter, please don't file multiple bugs together.
Comment 2 _ pkuzel 2005-05-11 08:19:26 UTC
At your service - next time.
Comment 3 Milos Kleint 2005-06-30 17:46:24 UTC
both issues fixed in trunk.