How to see long lines wrapped on the screen?

How to see long lines wrapped on the screen?

5
NewbieNewbie
5

    May 17, 2006#1

    I would like UltraEdit (I'm using version 10.0) to display long lines wrapped, so that I don't have to scroll horizontally forth and back to read it. I do NOT want UltraEdit to insert line endings (i.e. to break up long lines in a series of shorter ones).

    I found two options in Advanced/Configuration/General which together nearly do what I am looking for:

    One is "Count wrapped lines as new lines in number display", and I made sure that this is UNCHECKED. The other is "Maximum column before line wraps", and I have set this to 74, because I have resized the UltraEdit window so that it displays 74 columns.

    Although this works, it is awkward, because every time I resize the window, I have to go to the Configuration settings and change this option's value to my new window size.

    Is there an easier way to do it?

    Ronald Fischer

    6,683583
    Grand MasterGrand Master
    6,683583

      May 17, 2006#2

      For v10.xx look at Configuration, tab Edit. There you can specify several wrap options which are always specified for the files with the extension shown in the drop down list. Entry Default is for all files with a not specified extension.

      So first select the appropriate entry from the drop down list. Select Default if you want it for all files and have no file extensions specified here.

      Enable Default Word Wrap On for Each File and enable Wrap at window edge.

      A simple enter of word wrap in the Index tab of the UE help will give the same infos.
      Best regards from an UC/UE/UES for Windows user from Austria

      5
      NewbieNewbie
      5

        May 17, 2006#3

        I tried this, but although I configured the option the way you advised me - see

        http://img259.imageshack.us/img259/5393/capture19td.jpg

        for a screenshot of those option settings -, a Word Wrap still does not occur. See for example the screenshot

        http://img167.imageshack.us/img167/3876/capture27ci.jpg

        and in particular the highlighted line, which shows that no word wrap is performed. Not also that a horizontal scroll bar is shown.

        Ronald

        6,683583
        Grand MasterGrand Master
        6,683583

          May 17, 2006#4

          Which v10 version do you use? I have now tested it with v10.10c and it works perfect. I can see the line - Word-wrap positioning bug in the readme.txt for v10.00b.

          And make sure you have no special word wrap and tab/indent settings for .txt files.

          Check also if in menu Edit the Toggle Word-Wrap item is checked. It should be because you have checked also Default Word Wrap On for Each File.

          Don't forget to set the value of Maximum column before line wraps back to 4096.

          And I think you have to restart UltraEdit after changing the word wrap options. Have you restarted it before testing it with the files?

          For scroll bar problem see getting rid of the scroll bars?.

          Hint: For screenshots use PNG instead of JPG. The file size is much smaller with PNG as with JPG and PNG uses a lossless compression (no losses in quality). PNG is an open graphic standard. It's supported by all applications capable displaying or importing graphic images (except very old applications). But usage of PNG for screenshots makes only sense for new screenshots. Converting existing JPGs into PNGs is a waste of time and storage size.
          Best regards from an UC/UE/UES for Windows user from Austria

          5
          NewbieNewbie
          5

            May 17, 2006#5

            It just says 10.00, so maybe it has the word-wrap positioning bug.

            > And make sure you have no special word wrap and
            > tab/indent settings for .txt files.

            Nothing special set.

            > Check also if in menu Edit the Toggle Word-Wrap item is checked.
            > It should be because you have checked also Default Word Wrap On
            > for Each File.

            THIS WAS NOT CHECKED, AND AFTER I CHECKED IT, WORD WRAP WORKS FINE! Thank you very much!!

            > Don't forget to set the value of Maximum column before line
            > wraps back to 4096.

            Actually, I had set them to an even higher value.

            So, everything is working fine now.

            OT Question: Maybe you have noticed from the screenshot at http://img167.imageshack.us/img167/3876/capture27ci.jpg that several icons on the toolbar are missing (i.e. just displayed as grey rectangles). Of course it is not that much important to see these icons, but do you have any idea why they could be missing?

            Ronald

            6,683583
            Grand MasterGrand Master
            6,683583

              May 17, 2006#6

              Don't set the value of "Maximum column before line wraps" higher than 4096 because a higher value is supported only by versions of UE higher 10.10 (up to 20000 since v10.10). Look in the help of your version. It should be mentioned there.

              For the icon problem see Icon for Ctag Commands and other too for UE version 10.10a.

              I can verify if the blank icons are because of the missing icon resource. But you must tell me which commands are displayed with blank icons. And you must tell me if you use the Enable old style (pre-v9) toolbars and menus (quicker load times and more compatible with some screen readers - see Configuration - General (at bottom of the dialog) - or not. If you do not use the pre-v9 toolbars it could be a also problem with the toolbar settings in the registry. (Maybe see also Can't find context sensitive Help button.)
              Best regards from an UC/UE/UES for Windows user from Austria

              5
              NewbieNewbie
              5

                May 18, 2006#7

                Mofi wrote: For the icon problem see Icon for Ctag Commands and other too for UE version 10.10a.

                I can verify if the blank icons are because of the missing icon resource. But you must tell me which commands are displayed with blank icons. And you must tell me if you use the Enable old style (pre-v9) toolbars and menus (quicker load times and more compatible with some screen readers - see Configuration - General (at bottom of the dialog) - or not.
                No, this option is not enabled.

                The missing Icons on the toolbar are:

                Go to last position
                Go to next position
                Save File
                Cut
                Copy

                plus several icons inside the menus, such as Undo and Redo.

                Ronald

                6,683583
                Grand MasterGrand Master
                6,683583

                  May 18, 2006#8

                  Aha! These commands are not always executable. With v10.10c on WinXP and Win98SE they are grayed if they are not executable. For example Save is not possible if the file is saved and there are actually no modifications. So it is not a problem of a missing icon in the resources.

                  In your case it looks like the icons are completely set to display nothing except the transparent background instead of showing the icon with 256 colors of gray with transparency. This could be a problem of your Windows and it's shared DLLs because the function used for displaying an icon in gray colors seems not working correctly. On my computers all updates of MS are installed. Use the MS windows update mechanism. I can't tell you in which shared DLL the MFC function for this feature is located. I can only guess that the IDM developers used the ColorPaint.DrawImageDisabled method.

                  It could be also a problem with your version of UE. But I can't find something in the history about this issue (maybe it's a 'minor' issue). You can request the latest version v10.10c install package by email from IDM support. Write in the email your registration name and authorization code and exactly the version you want (v10.10c with/without dictionary and which localized version - english according to your screenshots). V10.10c was really a very good version. You should think about the free update to this version.
                  Best regards from an UC/UE/UES for Windows user from Austria

                  5
                  NewbieNewbie
                  5

                    May 18, 2006#9

                    Mofi wrote:Aha! These commands are not always executable. With v10.10c on WinXP and Win98SE they are grayed if they are not executable. For example Save is not possible if the file is saved and there are actually no modifications. So it is not a problem of a missing icon in the resources.
                    Correct! When I make a modification, the Save icon is there!
                    Mofi wrote:In your case it looks like the icons are completely set to display nothing except the transparent background instead of showing the icon with 256 colors of gray with transparency. This could be a problem of your Windows and it's shared DLLs because the function used for displaying an icon in gray colors seems not working correctly. On my computers all updates of MS are installed.
                    Hmmmm..... this should be on mine too. It's a company owned computer (and we have
                    a corporate license of UltraEdit), and at least I know that we get security patches installed very frequently, so I *guess* that they are also updating Windows in other respect.
                    Mofi wrote:It could be also a problem with your version of UE. But I can't find something in the history about this issue (maybe it's a 'minor' issue). You can request the latest version v10.10c install package by email from IDM support. Write in the email your registration name and authorization code and exactly the version you want (v10.10c with/without dictionary and which localized version - english according to your screenshots).
                    I will see whether they are doing it. The most logical thing would be that the company upgrades the version for everyone (after all the most recent UE is 12.00), but I'm pretty sure that they won't do this. Maybe IDM will give me an updated version out of courtesy...

                    Thank you for all that suggestions,

                    Ronald