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 142489 - Last line without new line character is not printed
Summary: Last line without new line character is not printed
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Platform (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-31 22:59 UTC by davisn
Modified: 2009-05-21 13:40 UTC (History)
1 user (show)

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 davisn 2008-07-31 22:59:57 UTC
print "\nThis is a TEST" when execute does not display statement

This is a TEST

Steps to Reproduce:
1. Install NB 6.5 trunk build (07/31/2008)
2. Create a Ruby Project
3. Insert the statement below to the main.rb file
    print "\nThis is a TEST"
4. Run the project
BUG:
   Nothing is displayed
   If I enter
      print "Test for new line chatacter \nThis is a TEST"
   then it works
Comment 1 Martin Krauskopf 2008-07-31 23:10:09 UTC
Thanks for the catch, reproducible. It's the problem of last line only. E.g. try:

  print "\nThis is a TEST"
  print "\nThis is a TEST"
  print "\nThis is a TEST"

Not sure about TBD. Not big impact I suppose (-> P4).
Comment 2 Erno Mononen 2009-05-21 13:40:12 UTC
This is fixed no.