Hidden is getting wrong color as parameter.

Đang mở
#121 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

@omniomi đang làm issue này rồi.

Từ ngày 5/7/2018.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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


Ngôn ngữ chính
PowerShell
Star
151
Fork
55
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PowerShell/EditorSyntax

Tất cả issue của PowerShell/EditorSyntax

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.