![]() |
#1 |
Zealot
![]() Posts: 124
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
|
Smart Comment/Uncomment
Not very important.
I noticed that in HTML files with embedded style sheet, when commenting css codes, the editor surrounds the selection with HTML comments. (I suppose the editor reacts depending on the file type ?) While I'm at it : is there a way to customize how "Beautify" works in CSS files ? Thanks. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,262
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, smart comment does not try to detect <style> or <script> regions in html files. I just never bothered to get around to implementing that.
As for customizing beautify, no, short of running from source. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() Posts: 124
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
|
I understand.
Thanks Kovid. |
![]() |
![]() |
![]() |
#4 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
What is 'Smart Comment/Uncomment'?
I couldn't find it in the on-line help Thanks |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,262
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hover your mouse over the smart comment button the one with /* on it.
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Thanks, got it now
I didn't have it on my toolbar |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Love the smart comment feature | Kanila G | Calibre | 1 | 11-06-2015 09:43 AM |
comment trier | kaboukoe | Software | 0 | 09-28-2012 01:22 PM |
comment vous l'appelez ? | Grimaud | Lounge français | 63 | 03-26-2010 09:33 AM |
PDF Comment and Question | timezone | iRex | 8 | 08-15-2008 10:05 AM |
Gizmodo - anyone have comment privilege there? | oliverbogler | iRex | 9 | 07-24-2006 10:19 AM |