Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor freezes under a particular circumstance. #2945

Closed
iSLC opened this issue Aug 19, 2019 · 3 comments
Closed

Editor freezes under a particular circumstance. #2945

iSLC opened this issue Aug 19, 2019 · 3 comments

Comments

@iSLC
Copy link

iSLC commented Aug 19, 2019

Description

Too simple to describe it so many times.

Steps to reproduce

  1. Create a new file (Ctrl+N)
  2. Switch to the D syntax (Ctrl+Shift+P -> ssd -> enter on D syntax)
  3. Paste the following:
class Test {
	Dummy = null
	constructor() { }
}
  1. Move the cursor before constructor and begin typing function. NOTE: no space between! should be joined functionconstructor as you type it.

Expected behavior

Expecting to actually finish typing function.

Actual behavior

Freeze before you finish typing function. Right after you type o.

Environment

  • Build: 3207 (x64)
  • Operating system and version: Windows 10 (x64)
  • [Linux] Desktop Environment and/or Window Manager: N/A
@keith-hall
Copy link
Collaborator

keith-hall commented Aug 19, 2019

maybe already fixed by sublimehq/Packages#1966

@FichteFoll
Copy link
Collaborator

As @keith-hall mentioned, this is most likely a problem with the syntax definition (which then causes a freeze through one of the reported bugs with syntax highlighting). Please try whether you can reproduce with the dev version of the D package. Refer to the readme for instructions.

@BenjaminSchaaf
Copy link
Member

Can't reproduce it with my fixes applied.

@iSLC iSLC closed this as completed Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants