This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, Great extension, just a few issues that I have found where what is valid LESS syntax (I think...) is failing:
Thanks! I'm currently using version 1.0.198.18082 Sample File with above problems:
@Width: 950px; @ColumnMargin: 10px; @Columns: 24; @ColumnWidth: (@Width - (@ColumnMargin * (@Columns - 1))) / @Columns; @ColumnWidthWithMargin: @ColumnWidth + @ColumnMargin; .col_span(@count) { width: (@count * @ColumnWidth) + ((@count - 1) * @ColumnMargin); } // Provides a cross-browser method to implement `display: inline-block;` .inline-block() { *display: inline; } body { background: url("//a.cdn/background.png") repeat-x scroll left top #E2EDF5; } |
|
|
I would like to add that the compiler doesn't seem to ignore single quotes after //comments. I had a fatal error in one file, complaining that a quote was not closed, due to my having a line comment with the word "don't" in it. Especially interesting given that the syntax highlighter doesn't seem to have a problem with it. |
|
|
Thanks for letting us know about these issues. We'll have fixes for them in the next update. |
|
|
Unfortunately, we can't help you with the Less compiler -- we only do the syntax highlighting. In fact we don't even invoke the Less compiler -- if you're compiling Less, then you're using something separate to Web Workbench. You are probably using Less.js or dotLess -- in either case, hopefully they'll be able to help you with the error you're seeing! |
|
|
Of course. My mistake. I'll go bug them about this problem. Sorry to bother you guys! ^_^; |
|