tbremer / px-rem-tooltip-sublime

PX and REM tooltips for Sublime Text
MIT License
2 stars 2 forks source link

Display tooltip when select lines #2

Open PixelT opened 8 years ago

PixelT commented 8 years ago

Select a few lines, and....

tbremer commented 8 years ago

I'll look into this tonight, thanks!

PixelT commented 8 years ago

There are more important bug... I use https://packagecontrol.io/packages/SCSS and https://packagecontrol.io/packages/All%20Autocomplete

Step to reproduce:

  1. Disable PxRemTooltip
  2. Write in scss file: $color: red; .element { box-shadow: 1px 1px 0 darken() }
  3. Put the cursor below the darken function bracket
  4. Write $cl
  5. The autocomplete with variable should be visible
  6. Enable PxRemTooltip
  7. Repeat step 2-4 -> step 5 is broken (autocomplete disappears)
tbremer commented 8 years ago

@PixelT, I am going to move the autocomplete bug to a new issue.

tbremer commented 8 years ago

My plan is to add options in for multi-line select, with the default to only display the tooltip where the cursor actually is…

This might take me a day or so to implement.