Menu

#3850 Html edit mode

severe bug
closed-fixed
nobody
5
2014-06-25
2014-02-12
No

jEdit version number 5.1.0
platform Windows XP SP3
Java version 1.7.0_51
steps to reproduce problem (1) problem (2), problem (3).

- problem (1) The html edit mode does not parse html code after the 3 CSS tags:
dd:after { content: "..."; }
dd:before { content: "-"; }
dd:before { content: "\00BB \0020"; }

- Any one of the tags is sufficient to cause the bug. There is no html syntax highlighting after the css tags.
- problem (2) SuperAbbrevs opens and accepts the entry but does not expand the abbreviation.

file (1) does not have the problems (1), (2).
file (2) demonstrates the problem (1), (2).

- problem (3)
- (3) This problem began in 5.0 and did not change in 5.1. It is a related html edit mode problem.
-- Example: in html edit mode code:
<dl>[1]
[2]
          </dl>

  If  <dd> tags are inserted at [1], the result is: "<dd></dd>          </dl>". The leading <dl> tag is automatically erased by the insertion.
  If  <dd> tags are inserted at [2], the result is correct as shown below:
  <dl>
          <dd></dd>
          </dl>

expected result  
- problem (1), problem (2). jEdit html edit mode should display syntax highlighting for valid html and css code. SuperAbbrevs should expand and insert the abbreviation at the caret.
- problem (3). After insertion at [1] the code should be:
<dl><dd></dd>
          </dl>

activity log the error list displayed no errors.

what plugins you were using.
- BufferTags
- CssEditor
- JTidy
- ProjectViewer
- SideKick
- SuperAbbrevs
- XML
- XML Indenter

Attached files, the bug tracker only accepts one file so (2) is attached:
- (1) Tss_jEdit_10Sys_Test_2014B12.html
- (2) ApplTech_10SysDbDoc_ProjImpl_Entry_Test_2014B12.html
1 Attachments

Discussion

  • Alan Ezust

    Alan Ezust - 2014-02-13
     
    • Gary Gabriel

      Gary Gabriel - 2014-02-13

      OK, thanks.
      - Gary

       
  • Dale Anson

    Dale Anson - 2014-02-15

    Fixed in svn revision 23418.

     
  • Dale Anson

    Dale Anson - 2014-02-15
    • status: open --> closed-fixed
     

Log in to post a comment.