Results 1 to 3 of 3

Thread: What is the vertical line in the editor screen for?

  1. #1
    Junior Member
    Join Date
    Dec 2023
    Posts
    12
    Rep Power
    2

    What is the vertical line in the editor screen for?

    I've got my ThinAir editor theme set up pretty much how I like it, except for that line. At the 92th character position, there is a thin vertical line. What is that meant to indicate, and can it be disabled or changed? I've searched the forums, docs, etc but find no reference to it. (Probably because I don't know what it's called. )

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10
    Yes you are right, thinBasic has so much options all to be documented.
    Step by step, sooner or later ...

    All thinAir themes are derived from Default theme.
    Check inside any theme xml file and you will see the following line at the beginning:
    <ThinAirTheme version = "1" parent = "Default.theme.xml">
    
    So when thinAir apply a theme, first of all it will apply "Default.theme.xml" theme and then it will apply the specific options inside your theme
    "Default.theme.xml" (and other thinAir official themes) will be overwritten at every thinBasic install so never change it

    That said, to change some behavior, just copy the option you want to change from "Default.theme.xml" into your personal theme and make some changes

    In this case copy from "Default.theme.xml" the following node into you theme
    <options name = "edge"> <!-- You can choose to mark lines that exceed a given length by drawing a vertical line or by colouring the background of characters that exceed the set length. -->
        <item name = "mode">1</item> <!-- 0=none, 1=line, 2=background, 3=multiline -->
       <item name = "column">90</item>
      <item name = "color">230,230,230</item>
    </options>
    
    and change
    <item name = "mode">1</item>
    
    to
    <item name = "mode">0</item>
    
    Important: XML files are case sensitive
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #3
    Junior Member
    Join Date
    Dec 2023
    Posts
    12
    Rep Power
    2
    Excellent! That actually answers the other question about themes I had. Two for one there!

Similar Threads

  1. something that could become a 3d-editor
    By ReneMiner in forum TBGL Scripts and Projects
    Replies: 10
    Last Post: 02-03-2013, 18:25
  2. Vertical scrollbar in Listview
    By martin in forum thinBasic General
    Replies: 4
    Last Post: 22-05-2009, 17:10
  3. What editor?
    By Michael Clease in forum Fixed or cleared errors in help material
    Replies: 7
    Last Post: 31-10-2007, 04:19

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •