Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Incorrect highlight for single-quoted single quote #117

Closed
CarlSmotricz opened this issue Mar 30, 2015 · 2 comments
Closed

Incorrect highlight for single-quoted single quote #117

CarlSmotricz opened this issue Mar 30, 2015 · 2 comments

Comments

@CarlSmotricz
Copy link

  • GoClipse: 0.10.0
  • OS: Windows 7 64 bit
  • Arch: Intel I5-3550

To reproduce, copy/paste and view these 2 lines of valid Go code in the editor:

const qa = '\a' // The "alarm" character as a rune
const qq = ''' // A single quote as a rune

image

  • The 1st line shows the character constant in blue and the comment in green (OK)
  • The 2nd line shows the comment in blue (doesn't realize the string has ended) (bad)
@bruno-medeiros
Copy link
Contributor

fixed

@CarlSmotricz
Copy link
Author

Woo hoo! Thanks for the really quick fix! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants