Search found 55 matches

by OldLost
Thu Sep 29, 2016 2:17 pm
Forum: PowerShell Studio
Topic: Module contents fails to cache
Replies: 8
Views: 1184

Re: Module contents fails to cache

Here is the output of my $PSVersionTable variable: Name Value ---- ----- PSVersion 5.0.10586.117 PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.10586.117 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 Is it possible it has ...
by OldLost
Thu Sep 29, 2016 10:54 am
Forum: PowerShell Studio
Topic: Module contents fails to cache
Replies: 8
Views: 1184

Re: Module contents fails to cache

Indeed I would not want it public, so have uploaded it as requested.
by OldLost
Thu Sep 29, 2016 9:41 am
Forum: PowerShell Studio
Topic: Module contents fails to cache
Replies: 8
Views: 1184

Module contents fails to cache

PowerShell Studio 2016 v5.2.128 x64 Windows Server 2012 R2 64bit I have a module that I recently updated. It has a PS1M and PS1D file, and I did change the version number in the PS1D file since some of the module's function's parameters changed. I can import the module into a PS session and use the ...
by OldLost
Wed Sep 07, 2016 11:35 am
Forum: PowerShell Studio
Topic: Code folding enabled but not folded?
Replies: 6
Views: 1523

Re: Code folding enabled but not folded?

Just to be clear I was not asking for a restore upon loading of folded state of regions, but the ability to open a file and have all regions unfolded to start. Right now if code-folding is enabled and I open a file all regions are folded; I'd like the option to have all regions to start unfolded. Th...
by OldLost
Tue Aug 30, 2016 9:46 am
Forum: PowerShell Studio
Topic: using statement is unknown?
Replies: 1
Views: 682

using statement is unknown?

PowerShell Studio 2016 v5.2.127 x64 Windows Server 2012 R2 64bit I was glad to see a few versions back when PowerShell Studio (PSS) began supporting (meaning being recognized by PrimalSense and syntax coloring) PowerShell classes and enums. So I was a bit surprised today when I typed "using namespac...
by OldLost
Wed Aug 17, 2016 12:31 pm
Forum: PowerShell Studio
Topic: Syntax Highlighting following modulus operator
Replies: 10
Views: 2084

Re: Syntax Highlighting following modulus operator

Looking at the screenshot in your first post a bit closer, you'll notice even there that the operator and the bracket are miscolored on line 5. It's a bit hard to tell without looking closely, but the operator appears to be blue and italicized, whereas it should be the same color as the other operat...
by OldLost
Wed Aug 17, 2016 12:13 pm
Forum: PowerShell Studio
Topic: Syntax Highlighting following modulus operator
Replies: 10
Views: 2084

Re: Syntax Highlighting following modulus operator

Thanks. Yes, looking at your screenshot not only is the bracket miscolored but so is the operator itself as well as the number. Based on the color scheme and the fact it's an operator, the color of the % character should be red (it's yellow in the first instance and a brown in the second), and the 3...
by OldLost
Wed Aug 17, 2016 7:07 am
Forum: PowerShell Studio
Topic: Syntax Highlighting following modulus operator
Replies: 10
Views: 2084

Re: Syntax Highlighting following modulus operator

Have you made any custom color settings in Options -> Editor -> Font and Color..? Oh, indeed. Lots. Attached is my (slightly sanitized) settings xml file. What exactly does the New-HeaderCell function do? Can you provide the function itself? Sure. Nothing special. It returns a string of HTML. functi...
by OldLost
Tue Aug 16, 2016 2:41 pm
Forum: PowerShell Studio
Topic: Syntax Highlighting following modulus operator
Replies: 10
Views: 2084

Syntax Highlighting following modulus operator

PowerShell Studio 2016 v5.2.127 x64
Windows Server 2012 R2 64bit

When using the modulus operator syntax highlighting appears messed up:
8-16-2016 2-34-23 PM.jpg
8-16-2016 2-34-23 PM.jpg (56.98 KiB) Viewed 1747 times
FYI, SaveColor is a valid parameter to the New-HeaderCell function and is highlighted correctly when the modulus operator is not used.
by OldLost
Tue Aug 16, 2016 1:10 pm
Forum: PowerShell Studio
Topic: Code folding enabled but not folded?
Replies: 6
Views: 1523

Code folding enabled but not folded?

PowerShell Studio 2016 v5.2.127 x64 Windows Server 2012 R2 64bit I have code folding enabled, which works fine. However, is there an option somewhere I'm just not finding that, upon opening a file it is not folder by default? While I do want the ability to fold code when needed, I'd like to have it ...