Perfomance issue: Are there any settings that can be adjusted to tune things up?

Perfomance issue: Are there any settings that can be adjusted to tune things up?

8
NewbieNewbie
8

    Jan 22, 2018#1

    UltraEdit version 24.xx 64-bit used by me on a Windows 7 machine with decent specs.

    With PHP files over 5000 lines I notice small delays when copying and pasting, with the hourglass appearing for a brief millisecond.

    Not a big deal of course but it annoys me a bit and also makes me wonder. Notepad++ for example editing files 10 times bigger doesn't have this issue.

    First thought it was the syntax coloring engine (figured it would be the most resource intensive task for a text editor as this). So I disabled it but it doesn't change a thing.

    Anything I can do to increase the performance of UE?

    Ah ... I found the culprit: removing unused languages from the 'coding' menu seems to do the job.

    But even if I limit the languages to PHP the performance loss is still noticeable.

    6,675585
    Grand MasterGrand Master
    6,675585

      Jan 23, 2018#2

      I don't know what is your problem. I opened the file changes.txt in program files folder of UltraEdit having 2.215 lines in UltraEdit v24.20.0.51 with all settings set to default. I pressed Ctrl+A, Ctrl+C, Ctrl+N and several times Ctrl+V until having 50.923 lines in new ANSI encoded file with a file size of 2.680.742 bytes. I saved the file first as Test.txt and second as Test.php to enable PHP syntax highlighting on this file not containing PHP code. On pressing Ctrl+A on both files I could see that UltraEdit temporarily displayed end of file before displaying top of file with everything selected. The time for selecting the entire file content depended on syntax highlighting. Selecting everything in Test.txt with no syntax highlighting was a bit faster than selecting everything in  Test.php with syntax highlighting. But nothing changed at all on pressing next Ctrl+C. There was neither the document window refreshed nor was the mouse pointer changed on copying the selection to clipboard.

      I could see a very short delay on pasting with Ctrl+V the copied 50.923 lines somewhere inside Test.php. But with syntax highlighting enabled, with code folding enabled, with line change indication feature enabled, with undo feature enabled, etc. it is explainable that UltraEdit takes some milliseconds on pasting a block with 50.923 lines into a file with having already 50.923 lines to update all the data accordingly.

      You could disable the line change indication feature for this file or by default for any file to speed up editing a file. I don't need the LCI feature. Therefore LCI is disabled in my configuration while it is enabled in default configuration used for this test. Open Advanced - Settings or Configuration - Editor display - Line change indicator and uncheck setting Enable line change indicator (LCI). Then LCI is by default disabled, but can be individually enabled for a file by clicking on item Line change indicator on ribbon tab View.

      You could also close the Document map view if you don't need this view as I have done in my configuration. Right click into the document map view and left click on last context menu item Close document map or toggle off this view via check box item Document map on ribbon tab View. That speeds up editing files too.

      Do you not need the line numbers displayed on left side as the line number of active line in status bar at bottom is enough? Yes, then toggle off displaying line numbers on ribbon tab View by clicking on Line numbers. Extra hint: Open Advanced - Settings or Configuration - Editor - Bookmarks and enable Highlight entire line and switch in configuration to Editor display - Code folding and uncheck Enable show/hide lines and code folding and Enable show/hide lines in non syntax highlighted files to speed up editing files and additionally get more horizontal space for document window area.

      Do you not need the ruler at top because the column number in status bar at bottom is enough for you? Yes, then toggle off displaying the ruler on ribbon tab View by clicking on Ruler.

      Summary: Look on all ribbon tabs and all configuration settings and disable everything you don't need. Help is available for every setting and every item on a ribbon tab.
      Best regards from an UC/UE/UES for Windows user from Austria

      8
      NewbieNewbie
      8

        Jan 28, 2018#3

        Thank you for your answer! Quite extensive. Appreciate it a lot. Not much luck so I suppose it's just because of my system's performance. Not a biggie. We are talking fraction of a millisecond delay compared to smaller files. So I am just trying to be a perfectionist. 

        Another question:
        Do you have any idea if I can key map the Go to previous position and Go to next position commands? They are under the Home menu/ribbon but I can't find them in the key mapping list.

        6,675585
        Grand MasterGrand Master
        6,675585

          Jan 28, 2018#4

          Go to previous position is listed with name Back (last position) in commands list and Go to next position with Forward (next position).
          Best regards from an UC/UE/UES for Windows user from Austria

          8
          NewbieNewbie
          8

            Jan 28, 2018#5

            Wow. You really know everything. Found it and it works!

            Does your omnipotent knowledge relate only to UltraEdit or can I throw in deep existential questions concerning the occult and the meaning of life as well?