History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-17418
Type: Bug Bug
Status: Open Open
Assignee: Alexey Pegov
Reporter: Bas Leijdekkers
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Join lines in CSS leaves empty line

Created: 14 Mar 08 16:13   Updated: 14 Mar 08 16:14
Component/s: CSS Editing

Build: 7,757
Severity: Low


 Description  « Hide
Join Lines (Ctrl+Shift+J) in the following code (| is text cursor) moves the closing brace but leaves an empty line which was not there before.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>Join line test</title>
  <style type="text/css">
    .used {
      color: red; /* join the following line with this line */ |
    }
    .other {}
  </style>
</head>
<body><div class="used"><b class="other">zzz</b></div></body>
</html>

Result:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>Join line test</title>
  <style type="text/css">
    .used {
      color: red; /* join the following line with this line */ }

    .other {}
  </style>
</head>
<body><div class="used"><b class="other">zzz</b></div></body>
</html>


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.