Menu

Visualisation improvement

2007-10-19
2012-11-13
  • Nobody/Anonymous

    Hi,
    I am an intensive user of Notepad++. I'd like to propose an improvement to Notepad++. I just propose because I can't to progam it myself. I think rather a useful thing to implement is padding for those lines of code in which the final characters are tabulation (chr(9)). If such lines of code are long enough to be broken by NP++ they look like paragraphs with the first line indented. It is well known that while writing a program  tabulation is used so that progam code would be more readable. I think it will be much more if those broken lines look not just like indented paragraphs but like non-indented paragraphs with left padding equal to an amount of the first tabulation characters.

    How it looks now:

    125  for (i=1;i<10;i++){
    126       x="<table><tr><th>First Header
         </th><th>Second Header</th><th>Third
         Header</th></tr>"
    127       y="something else"
    ...
    135  }

    How I want it to look like:

    125  for (i=1;i<10;i++){
    126       x="<table><tr><th>First Header
              </th><th>Second Header</th><th>Third
              Header</th></tr>"
    127       y="something else"
    ...
    135  }

     
    • Nobody/Anonymous

      Now I've used "_" for the first spacing in the beginning of the strings:
      That's as it is in NP++ now:

      125___for (i=1;i<10;i++){
      126______x="<table><tr><th>First Header
      ______</th><th>Second Header</th><th>Third
      ______Header</th></tr>"
      127______y="something else"
      ...
      135_}

      That's as i want it to be

      125___for (i=1;i<10;i++){
      126______x="<table><tr><th>First Header
      _________</th><th>Second Header</th><th>Third
      _________Header</th></tr>"
      127______y="something else"
      ...
      135_}

       
    • Nobody/Anonymous

      OOps, all my formating, I mean all the spaces, has been collapsed. I'll try to change the situation.