Diff of /src/SciTEBase.cxx [51e9db] .. [bb518b] Maximize Restore

  Switch to unified view

a/src/SciTEBase.cxx b/src/SciTEBase.cxx
...
...
3005
3005
3006
            if (lineNumWidth < lineNumbersWidth) {
3006
            if (lineNumWidth < lineNumbersWidth) {
3007
                lineNumWidth = lineNumbersWidth;
3007
                lineNumWidth = lineNumbersWidth;
3008
            }
3008
            }
3009
        }
3009
        }
3010
3010
      if (lineNumWidth < 0)
3011
          lineNumWidth = 0;
3011
        // The 4 here allows for spacing: 1 pixel on left and 3 on right.
3012
        // The 4 here allows for spacing: 1 pixel on left and 3 on right.
3012
        std::string nNines(lineNumWidth, '9');
3013
        std::string nNines(lineNumWidth, '9');
3013
        int pixelWidth = 4 + wEditor.CallString(SCI_TEXTWIDTH, STYLE_LINENUMBER, nNines.c_str());
3014
        int pixelWidth = 4 + wEditor.CallString(SCI_TEXTWIDTH, STYLE_LINENUMBER, nNines.c_str());
3014
3015
3015
        wEditor.Call(SCI_SETMARGINWIDTHN, 0, pixelWidth);
3016
        wEditor.Call(SCI_SETMARGINWIDTHN, 0, pixelWidth);