Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Vertical red lines

    Help wanted · · · – – – · · ·
    5
    15
    2459
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Valeria Vernon
      Valeria Vernon last edited by

      Good day,
      How do I turn on those useful vertical red lines that - for example - go from the beginning of a DIV to its /DIV or from opening parenthesis to closed parenthesis ?
      I am using the Italian version, but I don’t using the English one if I find out how to change. Regards

      Alan Kilborn Ekopalypse 2 Replies Last reply Reply Quote 0
      • Ekopalypse
        Ekopalypse last edited by

        I guess you are looking for this

        41aa6c13-02d6-4d29-a934-812772be8c72-image.png

        Valeria Vernon 1 Reply Last reply Reply Quote 1
        • Valeria Vernon
          Valeria Vernon @Ekopalypse last edited by

          @Ekopalypse , Thank you but it doesn’t work. I found it earlier using (I am not sure of the translation into English) Display>Symbols>Identation guides (equivalent to what you showed above), but I only see vertical grey lines, which should turn red if I click, say, at the beginning of an expression, e.g. <div> all the way to </div>. It worked yesterday :-( Thank you, in any case it’s a first step

          PeterJones 1 Reply Last reply Reply Quote 0
          • Alan Kilborn
            Alan Kilborn @Valeria Vernon last edited by

            @Valeria-Vernon said in Vertical red lines:

            How do I turn on those useful vertical red lines that …

            Maybe you mean Fold lines?:

            c1598e44-57a6-4bf6-a176-36ff147bdc7b-image.png

            Valeria Vernon 1 Reply Last reply Reply Quote 2
            • PeterJones
              PeterJones @Valeria Vernon last edited by

              @Valeria-Vernon said in Vertical red lines:

              @Ekopalypse , Thank you but it doesn’t work. I found it earlier using (I am not sure of the translation into English) Display>Symbols>Identation guides (equivalent to what you showed above), but I only see vertical grey lines, which should turn red if I click, say, at the beginning of an expression, e.g. <div> all the way to </div>. It worked yesterday :-( Thank you, in any case it’s a first step

              I had thought of the fold lines (like Alan suggested). But looking at the behavior of the Indentation Guide, I really think that is the feature you want:

              • If it’s turned on, and I click before or after the <script> tag (in my example), I just see the normal grey dots:
                1f3d08a7-ec4c-4678-b2c5-eefab39102af-image.png
              • if it’s turned on, and I click inside the <script> or </script> tag (putting the cursor somewhere, between the < and > for either), the brackets turn red, as does the vertical dotted indent line – in my example, the cursor is between the <sc and the ript>:
                a9411fd7-077e-4f04-b1ec-64d592f16dc2-image.png
                • the same will happen if I click immediately before or after the { or } of the javascript function

              Is this not what happens for you? If not, please show screenshots with your cursor clearly visible, and include your ? > Debug Info… (click on the ? menu, then on the Debug Info… entry, and Copy debug info into clipboard, then paste in your reply).

              Michael Vincent Valeria Vernon 2 Replies Last reply Reply Quote 1
              • Ekopalypse
                Ekopalypse @Valeria Vernon last edited by

                @Valeria-Vernon
                … or maybe you are not using the default but a different theme?

                1 Reply Last reply Reply Quote 0
                • Michael Vincent
                  Michael Vincent @PeterJones last edited by

                  @PeterJones said in Vertical red lines:

                  Is this not what happens for you? If not,

                  I can’t post images from $work, site is blocked, so try to bear with me. Instead of using 4-space indents, try only using 2-space indents and then clicking between the < and > tags and see if the red line in the editor window still shows. For me, it’s a yellow line (my preferences / theme I’m assuming) but it only shows on the 4-space indents for me:

                  ....<data Name='SubjectUserName'>
                  ......<tag>
                  ........<inner>
                  ..........<stuff></stuff>
                  ........</inner>
                  ......</tag>
                  ....</Data>
                  

                  Clicking in <data...> shows the yellow line in the editor
                  Clicking in <tag...> does not
                  Clicking in <inner...> shows the yellow line in the editor

                  In all cases the closing tag is highlighted, but it’s only on the 4-space indents that the in-editor vertical line appears.

                  Note the code-folding highlights appear as expected in all situations.

                  Cheers.

                  PeterJones 1 Reply Last reply Reply Quote 0
                  • PeterJones
                    PeterJones @Michael Vincent last edited by PeterJones

                    @Michael-Vincent said in Vertical red lines:

                    it’s only on the 4-space indents that the in-editor vertical line appears.

                    If you change Settings > Preferences > Language > Tab Settings: HTML > Tab Size from 4 to 2, then the indicators will be every 2 characters instead of every 4 spaces, and even the <tag> at 6-space indent will show the dotted indicator appropriately.

                    tab size = 4
                    5a0bee17-11c4-4e11-bacc-967f84cb34c8-image.png

                    tab size = 2
                    556d6532-3200-47d4-96dd-f253f014a63a-image.png

                    Michael Vincent 1 Reply Last reply Reply Quote 0
                    • Valeria Vernon
                      Valeria Vernon @Alan Kilborn last edited by

                      @Alan-Kilborn , no, not these

                      1 Reply Last reply Reply Quote 0
                      • Valeria Vernon
                        Valeria Vernon @PeterJones last edited by

                        @PeterJones Neither these. I’ll try to create a couple of images to show what I mean. Please be patient I am a grandma and not very good at using Corel

                        PeterJones 1 Reply Last reply Reply Quote 0
                        • PeterJones
                          PeterJones @Valeria Vernon last edited by

                          @Valeria-Vernon said in Vertical red lines:

                          @PeterJones Neither these. I’ll try to create a couple of images to show what I mean. Please be patient I am a grandma and not very good at using Corel

                          If you are focused on Corel right now, you might not see this in time, but in modern Windows 10, all you need to do is hit the Shift key plus the Windows key plus S (Shift+Win+S) to activate Windows’ built-in Snip & Sketch tool: it greys the screen, you then draw a box around the portion of the screen you want to snip, then it puts it into your clipboard; you can then paste right into the Forum editor window, and no need for running Corel, or mspaint, or anything like that.

                          Valeria Vernon 1 Reply Last reply Reply Quote 1
                          • Michael Vincent
                            Michael Vincent @PeterJones last edited by

                            @PeterJones said in Vertical red lines:

                            If you change Settings > Preferences > Language > Tab Settings: HTML > Tab Size from 4 to 2,

                            That’s why I suspected. I prefer 4 and keep it that way. However, sometimes I get files from others using 2-space indents and then I’m in the position I described, not seeing the 2-space, only 4-space indicators. I suppose I could switch my settings everytime I look at one of those 2-space, non-me-generated files, but then I may forget to switch back. It never really bothers me, just wondering if that may be what the OP is experiencing when he doesn’t see the lines?

                            Cheers.

                            1 Reply Last reply Reply Quote 1
                            • Valeria Vernon
                              Valeria Vernon @PeterJones last edited by

                              @PeterJones Thank you, yes I was very concentrated. I know this feature, I usually press “Print” on my keyboard and that’s all and the result is the same as the one you’ve described with Shift+Win+S. But I need the Corel because I must recreate what I mean, Below are four examples opf the feature I mis so much. Of course there con be onlscheda-notepad++2.jpg y one at at time on the page:

                              1 Reply Last reply Reply Quote 0
                              • PeterJones
                                PeterJones last edited by

                                I’m still not sure what’s missing from what I showed with the Indentation Guide:

                                Maybe my show-whitespace-and-tab was confusing you, so I turned that off for these examples.

                                Here is the normal indentation guide, without any tag selected. The dotted lines are all grey, as expected:
                                d37874a8-61fd-4325-9aba-7b5be56c0c99-image.png

                                If I put the cursor in the <di|v>, the < of <div> and > of </div> turn red. Also, the dots for the <div> indentation turn red. But the other dotted lines stay grey
                                fd4eb0b8-7fe9-470f-ada6-0019e74dcbe9-image.png

                                If I put my cursor immediately right of the { in myFunction, it highlights the { and } in red with white background, and changes the color of the vertical line in the function to red

                                b403c719-f14a-480d-b001-0f8619637299-image.png

                                If that’s not what you want, I don’t know what feature you used to have. Maybe it was a plugin or something, though I haven’t heard of it.

                                Valeria Vernon 1 Reply Last reply Reply Quote 1
                                • Valeria Vernon
                                  Valeria Vernon @PeterJones last edited by

                                  @PeterJones That’s it! after pressing repeatedly on that button I finally obtained my vertical red lines! I thank all of you.

                                  1 Reply Last reply Reply Quote 1
                                  • Referenced by  PeterJones PeterJones 
                                  • First post
                                    Last post
                                  Copyright © 2014 NodeBB Forums | Contributors