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 254619 - Wrong indentation of new line in embedded css
Summary: Wrong indentation of new line in embedded css
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Jade (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-22 19:00 UTC by Vladimir Riha
Modified: 2015-09-11 10:15 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 Vladimir Riha 2015-08-22 19:00:12 UTC
Please try

doctype html
html
  head
    title Jade compilation demo
    style.
        div:active::before{color:red}
        a {^}
    meta(accesskey='h')



and place cursor to position of ^ and press Enter, the result is


doctype html
html
  head
    title Jade compilation demo
    style.
        div:active::before{color:red}
        a {
            
}
    meta(accesskey='h')



but it should be


    doctype html
    html
      head
        title Jade compilation demo
        style.
            div:active::before{color:red}
            a {

            }
        meta(accesskey='h')



Thank you



Product Version: NetBeans IDE Dev (Build 201508220002)
Java: 1.8.0_60; Java HotSpot(TM) Client VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2015-09-11 10:15:22 UTC
The enter is included in an embedded css part. So this should be probably solved in css.