Hidden is getting wrong color as parameter.

Open
#121 3 comments 0 reactions 1 assignee View on GitHub

@omniomi is already working on this.

Since Jul 5, 2018.

Assessment

This issue has not been assessed yet.

Description

bug
Environment
  • Editor and Version (VS Code, Atom, Sublime): VSCode
  • Your primary theme: Monokai
Issue Description

I've created function

function Set-WordTextHidden {
    param(
        [parameter(ValueFromPipelineByPropertyName, ValueFromPipeline)][Xceed.Words.NET.InsertBeforeOrAfter] $Paragraph,
        $Hidden,
        [bool] $Supress = $true
    )
    if ($Paragraph -ne $null -and $Hidden -ne $null) {
        $Paragraph = $Paragraph.Hidden($Hidden)
    }
    if ($Supress) { return } else { return $Paragraph }
}

As you can see on screenshots... -Hidden is getting wrong color. I guess it's a special name but I still would like to use it.

Screenshots

image

image

Expected Behavior

No coloring?

Code Samples


Dominant language
PowerShell
Stars
151
Forks
55
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PowerShell/EditorSyntax

All issues in PowerShell/EditorSyntax

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.