dez — 2010-03-15T08:44:44-04:00 — #1
If you're looking for a particular syntax in external css sheets, and you've got loads of css files and 100's of lines of syntax in each one, how do you do a search, where it takes you directly to that particular syntax please ?
Any help appreciated.
autisticcuckoo — 2010-03-15T09:05:52-04:00 — #2
That depends on what operating system you're using and what software. I'd do
grep -n 'phrase' *.css
vi +<NNN> <filename>.css
(where '<NNN>' is the line number shown by the first command and <filename> is the name of the file).
dez — 2010-03-15T17:19:25-04:00 — #3
Thanks Tommy - I'm on win xp pro, but would that code just tka eyou to the file, or straight to the actual code ?
For css, I usually use topstylelite, but there's no find or find/replace - what styles editor do the others here use ?
autisticcuckoo — 2010-03-16T03:12:04-04:00 — #4
The first command finds the file and line number where the search phrases is.
The second command opens the editor (vi) and sets the cursor on the specified line of code.
It only works in Unix/Linux/BSD systems, of course.
luki_be — 2010-03-16T11:40:12-04:00 — #5
I use TopStyle pro. But are you sure the lite version doesn't have a search function????
dez — 2010-04-12T08:46:51-04:00 — #6
Thanks Tommy, but only have windows.
dez — 2010-04-12T08:48:19-04:00 — #7
Thanks Luki, but on looking through the lite version, it doesn't have that !