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

Insert Color command hangs for a bout a minute #12

Closed
tkrajacic opened this issue Jul 9, 2013 · 5 comments
Closed

Insert Color command hangs for a bout a minute #12

tkrajacic opened this issue Jul 9, 2013 · 5 comments

Comments

@tkrajacic
Copy link

When using the Insert Color command in a CSS or SCSS file to get the color picker, Textmate freezes completely for a minute or two.
After that, the color picker appears (with a system boink sound)

Can't see any log messages about it in System log.

Latest Textmate 2 version

@sorbits
Copy link
Member

sorbits commented Jul 9, 2013

Not happening here.

Try check console for potential errors.

Try run the same test on a new user account.

On 9 Jul 2013, at 4:24, Thomas wrote:

When using the Insert Color command in a CSS or SCSS file to get the
color picker, Textmate freezes completely for a minute or two.
After that, the color picker appears (with a system boink sound)

Can't see any log messages about it in System log.

Latest Textmate 2 version


Reply to this email directly or view it on GitHub:
#12

@tkrajacic
Copy link
Author

It happens, when you have a shortened color string like this:
color: #fff;

@sorbits
Copy link
Member

sorbits commented Jul 9, 2013

Please be more specific, see
https://github.com/textmate/textmate/wiki/Writing-Bug-Reports

On 9 Jul 2013, at 10:25, Thomas wrote:

It happens, when you have a shortened color string like this:
color: #fff;


Reply to this email directly or view it on GitHub:
#12 (comment)

@tkrajacic
Copy link
Author

Apologies!
Here are the steps to reproduce:

  • Create a new document with content:

    .test {
       color: #ffffff;
    }
    

Save document as test.css.scss

  • Place cursor within color definition.
  • Choose "Insert color…" from SCSS or CSS bundle
  • Textmate hangs (switching between windows still works, but no interaction at all with the rest of the interface)

It only happens with the ".css.scss" file.
Doing the same with a ".css" file works as intended.

@infininight
Copy link
Member

Corrected in textmate/bundle-support.tmbundle@765cfac.

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

No branches or pull requests

3 participants