hayaku icon indicating copy to clipboard operation
hayaku copied to clipboard

Property+value mustn't be expanded without only-property in shorter abbr

Open kizu opened this issue 12 years ago • 4 comments

If there is an abbreviation like con, then if the findings are content and content: normal;, then Hayaku must look if the shorter abbr (without the last char) can be expanded to the only-property one and then decide what to show in that case.

So in that case the co is expanded to color, so con can't be expanded to content: normal, so it must expand to just content.

kizu avatar Apr 25 '12 07:04 kizu

This Issue also could fix those STATIC_ABBRs:

('bd', 'border'), # Instead of border-style: dashed;
('bbc', 'border-bottom-color'), # Instead of background-break continuous
('pr', 'padding-right'), # Instead of position relative

kizu avatar Apr 25 '12 12:04 kizu

перенёс в alpha

TheBits avatar Sep 25 '12 08:09 TheBits

Короче, надо делать. Правда, будет несколько мест, где чуть-чуть поломается (fl/fr и подобные), но сейчас всё хуже: bg/bgc и похожие — сломаны.

kizu avatar Nov 01 '12 12:11 kizu

И-и-и, перенёс обратно в beta т.к. хочется запустить альфу поскорее и все найденные проблемы из-за широкого шортхендового словаря пока решим хардкодом (убиранием соответствующих значений из словаря + статические аббревиатуры)

kizu avatar Nov 06 '12 09:11 kizu