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 118661 - whole line is left shifted after pressing Enter at the beginning of line
Summary: whole line is left shifted after pressing Enter at the beginning of line
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks: 118615
  Show dependency tree
 
Reported: 2007-10-12 08:08 UTC by Jindrich Sedek
Modified: 2009-05-18 10:47 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 Jindrich Sedek 2007-10-12 08:08:08 UTC
Create new HTML file
set cursor possition at the beginning of some line and press enter:
-----------
|          <title></title>
-----------
whole line is shifted on the left border of the line:
-----------

|<title></title>
-----------
Comment 1 Tomasz Slota 2007-10-12 09:13:00 UTC
It seems more like a P3 'fix-in-beta60' to me. Anyways, it should be easy to fix once the API support described in issue 118659 is provided.
Comment 2 Tomasz Slota 2007-10-12 14:48:48 UTC
fixed.

Checking in html/editor/src/org/netbeans/modules/html/editor/indent/HtmlIndentTask.java;
/cvs/html/editor/src/org/netbeans/modules/html/editor/indent/HtmlIndentTask.java,v  <--  HtmlIndentTask.java
new revision: 1.5; previous revision: 1.4
done
Checking in html/editor/lib/src/org/netbeans/editor/ext/html/HTMLLexerFormatter.java;
/cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLLexerFormatter.java,v  <--  HTMLLexerFormatter.java
new revision: 1.13; previous revision: 1.12
done
Checking in web/jspsyntax/src/org/netbeans/modules/web/core/syntax/indent/JspIndentTask.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/indent/JspIndentTask.java,v  <--  JspIndentTask.java
new revision: 1.4; previous revision: 1.3
done
Checking in xml/tageditorsupport/src/org/netbeans/modules/editor/structure/formatting/TagBasedLexerFormatter.java;
/cvs/xml/tageditorsupport/src/org/netbeans/modules/editor/structure/formatting/TagBasedLexerFormatter.java,v  <--  TagBasedLexerFormatter.java
new revision: 1.24; previous revision: 1.23
Comment 3 Jindrich Sedek 2007-10-22 14:33:05 UTC
I'm sorry, but I'm still able to reproduce this problem using described steps.
NetBeans IDE Dev (Build 200710220000)
Comment 4 Tomasz Slota 2007-10-23 13:54:45 UTC
It should be completely fixed now. Sorry, NB ate my commit log.
Comment 5 Jindrich Sedek 2007-10-29 19:56:18 UTC
verified.
NetBeans IDE Dev (Build 200710290000)