Menu

#440 pointer to syntax error checking is at wrong place

v1.0_(example)
open
None
8
2017-01-13
2016-08-11
Vinay Jain
No

Hi, I am using latest version i.e 1.8.8 and I see in this version, when there is syntax error , it shows "red cross" in wrong line where actual error is , but description is correct

please find attached snapshot. test_pkg was few lines after where the "red cross" appered.

Kindly have a look.

1 Attachments

Related

Bugs: #440

Discussion

  • Vinay Jain

    Vinay Jain - 2016-08-11
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -0,0 +1 @@
    +sveditor_bug3.png (7.1 kB; image/png)
    
     
  • StevenAZ

    StevenAZ - 2016-08-26

    Seeing the same thing here too.

     
  • StevenAZ

    StevenAZ - 2016-09-07

    Testcase below:
    ~~~~

    `define ASDF asdf // Comment me out to move error marker
    module bob (); // error marker on this line ...
    this is an error // ...instead of this line
    endmodule

     
  • Vinay Jain

    Vinay Jain - 2016-09-26

    any plan to fix this issue?

     
  • KAZIM YUMBUL

    KAZIM YUMBUL - 2016-10-10

    I received the error message given below.

    org.eclipse.jface.text.BadLocationException
    at org.eclipse.jface.text.ListLineTracker.getLineOffset(ListLineTracker.java:201)
    at org.eclipse.jface.text.AbstractLineTracker.getLineOffset(AbstractLineTracker.java:169)
    at org.eclipse.jface.text.AbstractDocument.getLineOffset(AbstractDocument.java:922)
    at org.eclipse.core.internal.filebuffers.SynchronizableDocument.getLineOffset(SynchronizableDocument.java:382)
    at net.sf.sveditor.ui.editor.SVEditor.addErrorMarkers(SVEditor.java:1298)
    at net.sf.sveditor.ui.editor.SVEditor.access$20(SVEditor.java:1273)
    at net.sf.sveditor.ui.editor.SVEditor$UpdateSVDBFileJob.run(SVEditor.java:332)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    org.eclipse.jface.text.BadLocationException
    at org.eclipse.jface.text.ListLineTracker.getLineOffset(ListLineTracker.java:201)
    at org.eclipse.jface.text.AbstractLineTracker.getLineOffset(AbstractLineTracker.java:169)
    at org.eclipse.jface.text.AbstractDocument.getLineOffset(AbstractDocument.java:922)
    at org.eclipse.core.internal.filebuffers.SynchronizableDocument.getLineOffset(SynchronizableDocument.java:382)
    at net.sf.sveditor.ui.editor.SVEditor.addErrorMarkers(SVEditor.java:1298)
    at net.sf.sveditor.ui.editor.SVEditor.access$20(SVEditor.java:1273)
    at net.sf.sveditor.ui.editor.SVEditor$UpdateSVDBFileJob.run(SVEditor.java:332)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

     
  • StevenAZ

    StevenAZ - 2017-01-13

    My simple testcase above has this issue fixed (running 1.9.2). Is anyone else still seeing the issue? If not, can we close it?

     
    • KAZIM YUMBUL

      KAZIM YUMBUL - 2017-01-15

      Hi Steven

      Plase add the offline install file of version 1.9.2. I dont have internet
      access.

      Thanks.

      KAZIM

      14 Oca 2017 02:34 tarihinde "StevenAZ" stevenaz@users.sf.net yazdı:

      My simple testcase above has this issue fixed (running 1.9.2). Is anyone
      else still seeing the issue? If not, can we close it?


      Status: open
      Group: v1.0_(example)
      Created: Thu Aug 11, 2016 01:52 PM UTC by Vinay Jain
      Last Updated: Mon Oct 10, 2016 09:59 AM UTC
      Owner: Matthew Ballance
      Attachments:

      Hi, I am using latest version i.e 1.8.8 and I see in this version, when
      there is syntax error , it shows "red cross" in wrong line where actual
      error is , but description is correct

      please find attached snapshot. test_pkg was few lines after where the "red
      cross" appered.

      Kindly have a look.

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/sveditor/bugs/440/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #440


Log in to post a comment.