Ticket #14 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Rapid quoting

Reported by: mb0 Owned by: mb0
Priority: minor Milestone: xASDT 0.0.9 Release
Component: editor Version: 0.0.9
Keywords: Cc:

Description (last modified by mb0) (diff)

by mcreichelt 2007-07-08 13:20

The quoting in ASDT does not work as well as in Java. If I type in "text the ASDT editor writes "text"

But if I type in "text" the editor replaces the first " and the last ", so the result is: "text""" This is a small bug, but it really slows down the typing of ActionScript code. In the default Java view the quoting behaves as I would like it to behave - the editor recognizes that the second (closing) quote belongs to the first (opening) quote.

Same goes for 'text'.

The error seems to be in the class org.asdt.editor.internal.ASCodeScanner.

Oh - the code completion in ASDT works as expected with brackets.

Attachments

mylyn-context.zip Download (1.5 KB) - added by mb0 3 years ago.
mylyn/context/zip

Change History

Changed 3 years ago by mb0

  • description modified (diff)

Changed 3 years ago by mb0

  • owner changed from mdk to mb0
  • description modified (diff)

i hijack the ticket and provide a simple fix.

Changed 3 years ago by mb0

mylyn/context/zip

Changed 3 years ago by mb0

  • status changed from new to closed
  • resolution set to fixed

it will not insert anything for " and ' if the next char is the typed char. typing " will result in "" typing "" will result in "" for "a typing " will still result in "a"" parsing the line for quotes would fix that.

Note: See TracTickets for help on using tickets.