SlickEdit 2008 Second Glance

I tried to use SlickEdit 2008 this morning for formatting my SilverlightCream post, and had problems.

The posts are formatted as html and then I paste them into the GeeksWithBlogs edit area. Works grreat, I've done it enough I don't have to think much about the mechanics of it. I've got a macro I run that formats out my content section.

My toolbars were gone, so I hooked up a new toolbar with one button, and attached it to the macro for the blog content. It didn't work... it didn't just have a problem, it didn't work spectacularly... so that was annoying, considering that I'm now wondering about that 3600 lines of macros I have ... I just counted, there are 79 macros in there...

Well... considering I was 6 revs back, maybe there's something subtle, so I took the quick route... I had 6 of these to do, and I just turned on the macro recorder and typed one out by hand... looked good. turned off the recorder, and gave it the same name as the old one, let it recompile, and then ran it... THAT didn't work either... not a good sign for the home team.

So, I did the other 4 by hand and said heck with it. Meanwhile the block highlighting was annoying me and I thought maybe that had something to do with the problem, but it was way past time to go to work.

So tonight I took a look at the highlighting, and got that toned down with color so it wasn't flashing so bright.

I then went in and tried playing with the macro multiple times, and the best I could get was bad.

Knowing what I do about the macro language, I can probably fix this, but geez... I've got a link that I want to paste in an href, so I start typing:

   <dt

and somewhere along the time that I finish with the 't', what appears on the screen is:

  

and the cursor is sitting appropriately between the > and the < in the middle ... all good, and as I'd expect.

So now I start to type the href, and I can find no way to avoid this:

I know this is hard to read against snow white, but it's much nicer with the black background of the editor.

Bottom-line, I could find no way of getting it to keep the inside the ... and this is pretty annoying. You can see the dt tag is highlighted, so it clearly understands I'm inside the dt tag pair, why does it put the at the end of the line?

No doubt this is what caused my macro fo fall over.

I'll see about pursuing this on the SlickEdit forums and blog about anything I find.

When I did the SilverlightCream post tonight, I fired up my tired old Version 7 because it just works :)

 Stay in the 'Light!
-Dave

This article is part of the GWB Archives. Original Author: Dave Campbell

New on Geeks with Blogs

  • We Won The One Award I Actually Care About

    Full Scale made the Inc. 5000 for the fifth year straight, the 12th listing across my three companies. Here is why the one award you cannot buy is worth stopping for.

  • Your Customers Build the Features Now

    I let a tool I liked sit dead for a year rather than build the features I wanted. An MCP server meant I never had to, and your customers can do the same to your product.

  • Get the Size of a Directory in Linux the Easy Way

    du -sh for the quick answer, ncdu for the cleanup, df for the disk itself: every command for checking directory size in Linux, plus why du and df never agree.

  • Vim Search and Replace: The Ultimate Guide

    One :%s command replaces every match in a file before a find dialog would even open. The Vim substitute patterns worth the muscle memory: flags, ranges, capture groups, and multi-file edits.