NO

Author Topic: autoindent fix, find replace fix, macro extention  (Read 2439 times)

dw9wkhmtcc

  • Guest
autoindent fix, find replace fix, macro extention
« on: June 21, 2006, 12:02:18 am »
reliable auto indent - seems things like paste and just typing normally can cause a line to not be indented enough

don't scroll the code on a find replace(all)

the ability to make more advanced build time macros (are addins that trigger on build time to modify code possible?) that support loops, can modify/build strings, etc e.g. HEXSTRING(3432), MACRO(x) if (x == 1) THIS_CODE else THISCODE

thanks

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 1980
    • http://www.smorgasbordet.com
Re: autoindent fix, find replace fix, macro extention
« Reply #1 on: June 21, 2006, 10:29:58 pm »
Quote from: "dw9wkhmtcc"
reliable auto indent - seems things like paste and just typing normally can cause a line to not be indented enough

Too vague. It works for fine me. I need examples, or I will do nothing.

Quote from: "dw9wkhmtcc"

don't scroll the code on a find replace(all)

Maybe. Maybe not.

Quote from: "dw9wkhmtcc"

the ability to make more advanced build time macros (are addins that trigger on build time to modify code possible?) that support loops, can modify/build strings, etc e.g. HEXSTRING(3432), MACRO(x) if (x == 1) THIS_CODE else THISCODE

Addins are notified when a build starts. Then can do many things before returning from this event. Modifying the CCFLAGS symbol, for example. Loops how?! Where?!
/Pelle

dw9wkhmtcc

  • Guest
autoindent fix, find replace fix, macro extention
« Reply #2 on: June 25, 2006, 12:43:58 pm »
thankyou for your reply Pelle

Please please fix the scroll on replace all because I find it annoying to lose my place

My auto indent settings are (default I think)

Tab size and indent size 4
Keep tabs
Smart (C only)
Style 2

If I type this in a new file the autoindent for each line is 4 spaces not tabs and does not line up with the tabs

Code: [Select]

#include <stdio.h>

int main(void)
{
    int When_I_start_typing_indent_gets_smaller_to_spaces;
    // happens on every line and similarily with paste
    return 0;
}

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 1980
    • http://www.smorgasbordet.com
autoindent fix, find replace fix, macro extention
« Reply #3 on: June 28, 2006, 05:10:33 pm »
Quote from: "dw9wkhmtcc"
Please please fix the scroll on replace all because I find it annoying to lose my place

I find your way more annoying, so it's not at the top of my list...

Quote from: "dw9wkhmtcc"

If I type this in a new file the autoindent for each line is 4 spaces not tabs and does not line up with the tabs

Use a fixed-pitch font...
/Pelle