Skip to content

Trailing whitespaces are getting added where they're not #189

@stephen147

Description

@stephen147

Describe the bug
Trailing whitespaces are getting added when there were none.

To Reproduce
Paste this code to the editor, there's whitespaces getting added after (errmsg) and errmsg .

  (defun *error* (errmsg) 
    (and acDoc (vla-EndUndoMark acDoc))
    (and errmsg 
         (not (wcmatch (strcase errmsg) "*CANCEL*,*EXIT*"))
         (princ (strcat "\n<< Error: " errmsg " >>\n"))
    )
  )

Expected behaviour
It shouldn't be adding in trailing whitespaces when there were none.

Desktop (please complete the following information):

  • OS: Microsoft Windows 10 Pro

Additional context
I have trim trailing whitespace set in VSCodes settings but this doesn't have any effect on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions