Skip to content

Indenting continuations is too far right #6137

Open
@Astollie

Description

@Astollie

Rubberduck version information

Version 2.5.2.6059
OS: Microsoft Windows NT 10.0.22621.0, x64
Host Product: Microsoft Office x86
Host Version: 16.0.16529.20182
Host Executable: EXCEL.EXE

Description
Indenting continuations indents far right, 15 characters left of the first "_" sign. Consecutive continuations align at the same distance.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Rubberduck Indent
  2. Click on Current procedure, or Current Module
  3. Scroll down to '....'
  4. See error

Expected behavior
In Indenter Settings -> Alignment Options -> Align continuations checked does show the expected behaviour in the 'Intended Code Sample', i.e. at the position where the previous line starts.

![Schermafbeelding 2023-07-19 165331]
(https://github.com/rubberduck-vba/Rubberduck/assets/103411154/2a27a2b0-3322-4a06-a7b7-4ab799828a89)

Screenshots
If applicable, add screenshots to help explain your problem.

Logfile
Rubberduck generates extensive logging in TRACE-Level. If no log was created at %APPDATA%\Rubberduck\Logs, check your settings. Include this log for bug reports about the behavior of Rubberduck.
RubberduckLog.txt

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIdentifies work items for known bugs

    Type

    No type

    Projects

    Status

    Backlog | Indenter

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions