Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the last letter in the word "SlickEdit":
How many LETTERS are in the following? "a1b2c3":
Which number is missing?  "12345689":

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: MindprisM
« on: July 14, 2008, 08:50:53 AM »

This inserts comments into the file, modifying the file, right?  That will probably be useful for some.  The behavior that people were looking for in the other thread was to automatically render a similar type of thing but without actually inserting any comments into the file.  If you've used SourceInsight before, that's the behavior people were looking for.

Yes, inserts comments. I do have a screen painting DLL Im using with slick, but in order to paint in the right location on a target machine it would involve a bunch of font metrics and system metrics (versus manual adjustments I do to get it right). Plus it paints right on the desktop, so you got no way to erase other than forcing and app to repaint.

Someone could take that macro and do a tip form on a timer though.
Posted by: MindprisM
« on: July 14, 2008, 08:43:46 AM »

What is __00.sh ?  The file compiles without it.

I guess this is an alert of some kind, since nobody would name a header file __00  :)

Graeme


Its "my machine" defs, program locations, plus Windows API Defs. So its a NOYB file, hence the name ;)
Posted by: chrisant
« on: July 14, 2008, 04:37:46 AM »

This inserts comments into the file, modifying the file, right?  That will probably be useful for some.  The behavior that people were looking for in the other thread was to automatically render a similar type of thing but without actually inserting any comments into the file.  If you've used SourceInsight before, that's the behavior people were looking for.
Posted by: Graeme
« on: July 14, 2008, 02:42:04 AM »

What is __00.sh ?  The file compiles without it.

I guess this is an alert of some kind, since nobody would name a header file __00  :)

Graeme
Posted by: MindprisM
« on: July 14, 2008, 01:43:37 AM »

At Brace Lines, will insert comments according to brace type and conditionals.
The comment inserted does not have to be deleted before invoking - all comments
are stripped from line before new comments are inserted.

Usage: Assign to a key, move cursor to a brace line and invoke.

Definintion:Brace lines, see examples.

Code: [Select]
// Brace line definition: All lines marked with "*" below are brace lines:

  for(;;){
  }                   *
  for (;;)
  {                   *
  }                   *
  if (something){
  }                   *
  if (something)
  {                   *
  }                   *
  if (something){
  }else{              *
  }                   *
  if (something){
  }else if(1){        *
  }else{              *
  }                   *
  while (){
  }                   *

//etc.