Subject: Codewright setup notes
Date: Fri, 14 Jun 2002 08:11:28 -0500
back to SW Config notes

----- Forwarded by me on 2002-06-14 09:077 AM -----

I also change the word delimiters in Customize | Language. I select all files, .*, and set the delimiters to space and tab, only, by entering " \t" in the word delimiters bar (without using the quotes). This allows me to navigate text using Ctrl-arrow without missing any text.

----- Forwarded by me on 2002-06-13 05:111 PM -----

"Striptrails" from \Support\Stptrail\ from the Codewright CD is a nifty little utility; it deletes trailing whitespace from the ends of lines every time a save is done. To set this up, copy stptrl32.dll from the CD \Support\Stptrail\ folder (it is in a subfolder of that) to your Codewright folder (eg c:\cw32). Add the line: LibPreload="stptrl32.dll" to the [LibPreload] section of your cwright.ini file. Exit and restart Codewright.

To set up creation of document Windows, add the following line to the [Editor] section of your cwright.ini file: WinSetCreationPos=0x0000, 0x0000, 900, 927 Commented lines start with semicolons: ;WinSetCreationPos=0x0000, 0x0000, 900, 927 - For 1280 x 1024 screen resolution with Philips Brilliance 201P monitor ;(0x0000 is CW_USEDEFAULT (set to 0x8000 for sequential cascading of subsequent-opened windows), 900 is the width in pixels, 927 is the height). This has to be tweaked to the user's preference and whenever the monitor size or screen resolution is changed. Exit and restart Codewright for this to take effect; the .ini file is only read when Codewright is launched.

The above two tips are hinted at in the cwright.tip file in the Codewright directory.

To turn off that distracting gray margin on the left side of your document windows: Go to Customize | Environment | Bookmarks and deselect "Show visible bookmarks", Local and Global. Then go to the Customize | View setups | General dialog box and set the Left Margin Space size to zero. To save these choices: Click on "Apply" and select "All User Windows" and "Make Default". After wrapping that up by clicking the appropriate "OK" buttons, back in the dialog box, select the "Default" view setup in the top right corner of the Customize | View setups | General dialog box, if not already shown. Click on "Save As" right below and then "OK" to save as Default. That should thoroughly save that choice.

To turn on the Horizontal scrollbar, select it in Customize | View setups | General (on the left side of the dialog box). Do the same two save actions described in the previous paragraph

back to SW Config notes