Page 13 of 19

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Sat 14 Jan, 2012 11:40
by NightRoman

Latest post of the previous page:

http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.3 =

*) Debugging
Script breakpoints are highlighted in the script editor. Note: breakpoints are
not updated when scripts change. To be continued, hopefully with this:
http://bugs.farmanager.com/view.php?id=1981

*) Scripts
- New Test-EditorDrawer-.ps1 (enjoy colors in PSF, too!)
- New Show-EditorColor-.ps1 (dumps current editor colors)
- Updated Show-KeyMap.ps1 for Far 3.0.2366 + new formatting.

*) Removed scripts designed for Far2:
- Start-Far.ps1
- Export-FarSettings.ps1
- Import-FarSettings.ps1.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Thu 19 Jan, 2012 19:13
by NightRoman
http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.4 =

*) Editor console
- Simplified menus and removed some exotic unlikely used features.
- [Console] in the debugger dialog does not show not needed menus.
- Files, if saved, are in the local PowerShellFar root directory.

*) Cmdlets *-FarEditor, *-FarViewer
- Added yet missing parameter CodePage
- *-FarEditor cmdlets allow empty file names

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Fri 20 Jan, 2012 20:02
by NightRoman
http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.5 =

*) Histories come back
- Complete-Word-.ps1 uses command/dialog history again.
- Show-History-.ps1 comes back.

*) Misc
- A few example macros in PowerShellFar.farconfig
- Minor fixes

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Thu 26 Jan, 2012 19:38
by NightRoman
http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.6 =

*) Stepper (engine for tests and super-macros)
- Steps may return script blocks (modal steps), other output is an error.
- New cmdlet Invoke-FarStepper for running stepper scripts easier.
- New Stepper.AddFile(), Stepper.Data & automatic variable $Data.
- Removed $Psf.Go(), Stepper.AskDefault, Stepper.PostUnit().
- More information on errors.

*) PowerShellFar.farconfig
- Minor tweaks of some macros (e.g. about Mantis 1700).

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Wed 01 Feb, 2012 20:35
by NightRoman
http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.7 =

*) Editor drawers use new PowerShell friendly API
- New script Draw-Word-.ps1: Draws occurrences of the current word.
- Adapted Test-EditorDrawer-.ps1

*) Breakpoints in PS files
- Changed highlighting color to White on DarkRed (like in ISE, VS, etc.).

*) Assert-Far
- Changed order of buttons and disabled cancel.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Thu 02 Feb, 2012 19:08
by NightRoman
http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.8 =

*) Amended drawers API
- Adapted Draw-Word-.ps1. As a result, also fixed some defects.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Tue 07 Feb, 2012 09:23
by NightRoman
http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.9 =

*) New FarNet drawers infrastructure and new Far events
- Good news: breakpoints are now updated on script changes. There are some
cases not yet processed correctly due to the nature of Far change events.
- Breakpoint highlighting is based on new drawers engine + fixed minor defects.
- Removed Draw-Word-.ps1 (it is replaced by the new FarNet module Drawer).
- Test-EditorDrawer-.ps1 -> Test-RegisterDrawer-.ps1

*) Misc
- Added yet missing switch -IsLocked to *-FarEditor cmdlets.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Tue 07 Feb, 2012 19:27
by NightRoman
http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.10 =

Technical build for FarNet 5.0.10.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Sun 12 Feb, 2012 14:37
by NightRoman
http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.11 =

Tweaks in PowerShell breakpoint related code.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Tue 14 Feb, 2012 19:26
by NightRoman
http://code.google.com/p/farnet/
(+ FarNet and API documentation)

= 5.0.12 =

* Amended source info format in stepper error messages.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Sat 25 Feb, 2012 10:19
by NightRoman
http://code.google.com/p/farnet/downloads/list
(+ FarNet and API documentation)

= 5.0.15 =

* About
- Replaced "Readme.txt" with "About-PowerShellFar.htm" which is generated from
the same source as "PowerShellFar.hlf".

* Markdown & markdown help tools
- Requires [FarHelpDown](https://github.com/nightroman/FarHelpDown)
- New script Show-Markdown-.ps1 opens markdown as HTML or Far help.
- Invoke-Editor-.ps1 opens markdown files from editors as HTML, at the topic.
- Profile-Editor-.ps1 opens markdown files from editors as HLF, at the topic.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Sat 03 Mar, 2012 19:09
by NightRoman
http://code.google.com/p/farnet/downloads/list
(+ FarNet and API documentation)

= 5.0.16 =

Settings
- $Psf.Settings.EditorConsoleEndOutputScript = 'Get-Date'
The script is invoked after each editor console command, its output is
converted to strings and written to the editor console.

Markdown tools
- Reformat-Selection-.ps1: formatting of markdown list items.
- Markdown scripts support .text, .md, .markdown extensions.

Select-Bookmark-.ps1 adapted to FarNet changes.

Search-FarFile checks masks for validity.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Sun 11 Mar, 2012 15:28
by NightRoman
http://code.google.com/p/farnet/downloads/list
(+ FarNet and API documentation)

= 5.0.17 =

FarDescription module and Edit-FarDescription-.ps1
(description tools and multi-line editor)

- Do not trim, keep text as it is.
- Do not preselect 1-line descriptions.
- Use temp names like "name.ext.description.txt" and enable editor history.
Thus, it is much more convenient to edit descriptions - texts are opened at
last saved positions and Colorer adds some colors for .txt. Distinctive name
can be used by other tools (e.g. RightWords for spelling checks on opening).

Show-Markdown-.ps1
- Amended the anchor pattern.

Reformat-Selection-.ps1
- Amended formatting of markdown lists.

Indent-Selection-.ps1
- Renamed the switch Outdent -> Back.
- It can work with any custom prefix, e.g. '> ' (quotations in markdown).

Show-Hlf-.ps1
- @+ @- should not be treated as topic anchors.

RomanConsole.hrd
- Changed def:Tag color so that it is different from def:Text.
(BTW, the original standard White scheme has the same "defect").

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Sun 18 Mar, 2012 15:04
by NightRoman
http://code.google.com/p/farnet/downloads/list
(+ FarNet and API documentation)

= 5.0.18 =

Improved powershell.hrc for Colorer
- Renamed PowerShell to powershell (Colorer style), update your prototype file.
- powershell:regions instead of def:regions (colors can be customized in .hrd).
- Comment inherits def:Comment => TODO, URL, Email, bug, fix, ??, !!
- Backtick at EOL is the region LineWrap.
- Added yet missing escaped "" in "...".
- Improved psfconsole output.

Get-TextLink-.ps1
- Gets the link + selected text, if any.

Open-TextLink-.ps1
- VS link: also uses the next editor line as a hint.
- In markdown files can jump to internal link targets.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Sun 25 Mar, 2012 05:48
by NightRoman
New package - ColorerPack
http://farnet.googlecode.com/files/Colo ... 3250548.7z

The directory Extras with Colorer syntax and color schemes is removed from the
PowerShellFar package. It is distributed separately as the ColorerPack package
among other FarNet packages.

This version contains powershell.hrc with new features, visual.hrd (former
RomanConsole.hrd) with new features, and visual-rgb.hrd converted from
visual.hrd and mostly designed for colorer.exe for HTML generation.

New features in powershell.hrc + visual.hrd:

- Output numbers, dates, times, and paths are colored.
- Output area markers `<=` and `=>` are invisible.
- Output areas have light gray background.

Another new visual.hrd feature is colored console color codes in HRD files. For
now it uses the patched *hrd.hrc*, see the proposed changes and demo pictures:
http://forum.farmanager.com/viewtopic.p ... 425#p93425

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Mon 26 Mar, 2012 00:57
by NightRoman
http://code.google.com/p/farnet/downloads/list
(+ FarNet and API documentation)

= 5.0.19 =

For Far 3.0.2573.

Extras
- The directory Extras with Colorer syntax and color schemes is removed from
the PowerShellFar package. It is distributed separately as the ColorerPack
package among other FarNet packages.

Re: PowerShellFar — Windows PowerShell host for Far Manager

Posted: Thu 29 Mar, 2012 18:06
by NightRoman
http://farnet.googlecode.com/files/Colo ... 3291754.7z
ColorerPack

*About-ColorerPack*

- Explained *powershell.hrc* features, including new.

*powershell.hrc*

Regex

- Regex syntax in regex operands: also with here-strings.
- Regex syntax in strings after `[regex]` and `<#regex#>`.
- Removed the old trick with `#REGEX` in here-strings.

SQL

- SQL syntax in here-strings after `<#sql#>`
- Removed the old trick with `--SQL`.

*visual.hrd*

- `def:StringContent` (commonly used for escaping). Background is highlighted,
foreground is inherited from the context, this seems to be more informative.
- `xml:CData` color changed from `def:default`.
- `c:PreprocInclude` color is VS color.