How to show right margin line in editors?

Al Po

Member
Searched options, searched this forum - failed to find how to enable
right vertical margin line.

I see beautifier option (defaults in 80 chars), but do not see how
to make it visible.

This simple vertical line option is available in most of simple
editors and IDEs, so I think I just cannot find right preference.

Auto-beautify is not enough for me.
 
Last edited:
You can go to Preferences > User Interface / Editor and enter 80 in the "Visible Margin" field. By default it is 0, which means no visible right margin.
 
I was able to make that change, to set the Visible Margin field (to 80 in my case), but the vertical line did not appear until I closed the program and reloaded - just thought this was worth mentioning.
 
Marco Kalter said:
You can go to Preferences > User Interface / Editor and enter 80 in the "Visible Margin" field. By default it is 0, which means no visible right margin.
IeVu1OG.png


I saw this option, it is default to 80 (I have latest 32bit version of plsqlDev). Tried this option already, but it changed nothing.

Now I tried changing default to 70. Marking tick "Allow cursor after end of line" (because it's quite unobvious to me why visible margin width on one line with cursor option).
Got nothing, as before.

After this useful comment

WexSoft said:
I was able to make that change, to set the Visible Margin field (to 80 in my case), but the vertical line did not appear until I closed the program and reloaded - just thought this was worth mentioning.

I restart app after each small option change - got nothing again.
 
For the record, I'm normally using 64-bit version of PL/SQL Developer (13.0.4.1906), running on Windows 7 Ultimate 64-bit laptop, connecting to Oracle 11.2.
However, I also have a Win XP VM where I have a 32-bit slightly older version of PL/SQL Developer installed (12.0.7.1837), and I ran the same test on it and it worked as it did for the 64-bit later version i.e. I set the Visible Margin setting to 80 (it was 0) and clicked Apply and then clicked OK, but the margin line did not appear in any editor windows until I shut down PL/SQL Developer and started it up again. Then the margin line appears in all editor windows.
 
Ok, for the record: "support info"

PL/SQL Developer
Version 13.0.5.1908 (32 bit)
Windows 8.1 (64-bit) Build 9600

Physical memory : 6 174 244 kB (1 419 008 available)
Paging file : 12 989 988 kB (5 486 288 available)
Virtual memory : 2 097 024 kB (1 694 672 available)

Parameters
D:\Soft\plsqlDev_32\plsqldev.exe

Preferences
Session mode: Multi
OCI Library:
Use OCI7: False
Allow Multiple Connections: True

Preference Files
D:\Soft\plsqlDev_32\Preferences\Default\Default.ini
C:\Users\PotolicynAM\AppData\Roaming\PLSQL Developer 13\Preferences\PotolicynAM\default.ini

Debug file
D:\Soft\plsqlDev_32\PlSqlDev.elf

Plug-Ins
*Active Query Builder (D:\Soft\plsqlDev_32\PlugIns\ActiveQueryBuilder.dll)
*PL/SQL Documentation (plsqldoc) (D:\Soft\plsqlDev_32\PlugIns\plsqldoc.dll)
(* is Active)

Aliases
ANGAR
app_ba
aster
asterics_moscow
ba_canstroy
...

Homes
OraClient10g_home1 (C:\oracle\product\10.2.0\client_1)

DLLs
C:\oracle\product\10.2.0\client_1\bin\oci.dll

TNS File
C:\oracle\product\10.2.0\client_1\Network\Admin\tnsnames.ora

Using
Home: OraClient10g_home1
DLL: C:\oracle\product\10.2.0\client_1\bin\oci.dll
OCI: version 11.1 (11.1.0.7.0)
Oracle Database 11g Release 11.2.0.3.0

Character Sets
Character size: 1 byte(s)
CharSetID: 171
NCharSetID: 2000
Unicode Support: True
NLS_LANG: RUSSIAN_CIS.CL8MSWIN1251
NLS_CHARACTERSET: CL8MSWIN1251
NLS_NCHAR_CHARACTERSET: AL16UTF16

Process
Working Set = 135 909 376
Memory = 25 434 652
GDI Objects = 1428
User Objects = 443
Handles = 294

Monitors
PixelsPerInch = 96

Id = 0
PPI = 96
Primary = True
Handle = 65537
Left = 0
Top = 0
Width = 1920
Height = 1080

Id = 1
PPI = 96
Primary = False
Handle = 65539
Left = 1920
Top = 0
Width = 1280
Height = 1024

MainFormOnTaskbar = True
 
I checked my support info, and there is no mention of Character Set. I wonder if this is a character set issue? Here are my NLS database params:
If5E3Vd.jpg
 
You show DB charset info.
Can't imagine DB settings can affect editor appearence.

BTW, my OS default codepage cp-1251. But I tried manually setting
UTF-8 for files - no changes.
 
Last edited:
As the Character Set info is not in my "support info", and yours listed 3 NLS parameters, I thought it might be useful to see my NLS parameters. I don't think the NLS database settings are affecting the editor appearance, but the application character set might.
 
Back
Top