Skip to content
This repository was archived by the owner on Apr 12, 2026. It is now read-only.
/ nppFSIPlugin Public archive
forked from ppv/NPPFSIPlugin

Commit 29a50e6

Browse files
committed
Release 0.2.2.0
1 parent 798f098 commit 29a50e6

6 files changed

Lines changed: 42 additions & 31 deletions

File tree

.circleci/scripts/gh_release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ printf '\\t%s\\n' "$(sha256sum ${SLUGX86})" >> sha256sums.md
1313
printf '\\t%s\\n' "$(sha256sum ${SLUGX64})" >> sha256sums.md
1414
curl -sL -X POST \
1515
-H "Accept: application/vnd.github+json" \
16-
-H "Authorization: Bearer ${GH_API_TOKEN}" \
16+
-H "Authorization: Bearer ${GH_API_TOKEN_2024}" \
1717
"https://api.github.com/repos/${CIRCLE_USERNAME}/${CIRCLE_PROJECT_REPONAME}/releases" \
1818
-d "{\"tag_name\":\"${CIRCLE_TAG}\",
1919
\"target_commitish\":\"${BRANCH}\",

Changelog.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
h3. Releases
22

3+
* 0.2.2.0 (2024-02-05)
4+
** Fixed: avoid calling NPPM_CREATELEXER in Notepad++ versions 8.4.1/2 by checking for zero-padded version words
5+
** Fixed: dynamically size the standard bitmap icon so it always fills the toolbar slot
6+
** Changed: the source code is now licensed under the GPLv3
7+
** Changed: implementation units have been rewritten for better modularity
8+
** Added: FSI input history is saved to disk and can be scrolled using arrow keys
9+
** Added: .NET FSI can be started with command-line parameters
10+
** Added: the active source file can be passed to FSI's '#load' directive
11+
** Added: the console window's context menu now has options to cut and paste
12+
** Added: in Notepad++ versions 8.5.4 and newer, all plugin dialogs follow the active dark mode theme
13+
314
* 0.2.1.1 (2023-04-05)
415
** Fixed: close FSI if it's running when the editor shuts down
516
** Fixed: don't highlight the toolbar icon when FSI fails to launch

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,22 @@
22

33
![Built with Free Pascal][fpc] [![cci-badge][]][cci-status]
44

5-
![NPPFSIPlugin-v0.2.1.0-x64](https://raw.githubusercontent.com/rdipardo/NPPFSIPlugin/media/rel/NPPFSIPlugin-v0.2.1-x64.png)
5+
![NPPFSIPlugin-v0.2.2.0-x64](https://raw.githubusercontent.com/rdipardo/NPPFSIPlugin/media/rel/nppFSIPlugin-v0.2.2-x64.png)
66

77
## Usage
88

99
| Default shortcut | Command |
1010
| :------------------------------- | :------------------------------------- |
11-
| Alt + T | open the FSI console window |
11+
| Alt + Shift + F12 | open/close the FSI console window |
1212
| Alt + Enter (with text selected) | evaluate the active selection in FSI |
13+
| *none* | pass the current file to FSI's `#load` directive [^1] |
14+
15+
[^1]: Also starts a new FSI session if one is not currently active.
16+
17+
> [!Note]
18+
> Console output can be selected and copied to the clipboard by right-clicking in the console window.
19+
1320

14-
*Note*
15-
Console output can be selected and copied to the clipboard using the context menu; right-click the console window to open it.
1621

1722
## F# Syntax Highlighting
1823
### Notepad++ 8.4.3 and later
@@ -26,8 +31,8 @@ or the `userDefineLangs` folder of a portable Notepad++ installation.
2631

2732
For the default or a light theme, use the [default F# UDL].
2833

29-
*Note*
30-
Both UDLs have ["transparent" backgrounds] (i.e., `colorStyle="1"`).
34+
> [!Note]
35+
> Both UDLs have ["transparent" backgrounds] (i.e., `colorStyle="1"`).
3136
3237
## Installation
3338
### Plugins Admin
@@ -87,4 +92,4 @@ in addition to the rights of past contributors mentioned in [Copyright.txt].
8792
["transparent" backgrounds]: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9649#issuecomment-832205177
8893
[cci-status]: https://circleci.com/gh/rdipardo/nppFSIPlugin
8994
[cci-badge]: https://circleci.com/gh/rdipardo/nppFSIPlugin.svg?style=svg
90-
[fpc]: https://img.shields.io/github/languages/top/rdipardo/nppFSIPlugin?style=flat-square&color=lightblue&label=Free%20Pascal
95+
[fpc]: https://img.shields.io/github/languages/top/rdipardo/nppFSIPlugin?style=flat-square&color=lightblue&label=Free%20Pascal&logo=lazarus

Source/Plugin/NPPFSIPlugin.lpi

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@
2424
<VersionInfo>
2525
<UseVersionInfo Value="True"/>
2626
<MinorVersionNr Value="2"/>
27-
<RevisionNr Value="1"/>
28-
<BuildNr Value="1"/>
29-
<StringTable Comments="Updated for x64 Notepad++ by Robert Di Pardo, Copyright 2023" FileDescription="F# source code lexer and IPC client for F# Interactive" InternalName="$NameOnly($(ProjFile))" LegalCopyright="Copyright 2010 Prapin Peethambaran" OriginalFilename="$NameOnly($(ProjFile)).dll" ProductName="$NameOnly($(ProjFile))" ProductVersion="0.2.1.1"/>
27+
<RevisionNr Value="2"/>
28+
<StringTable Comments="Updated for x64 Notepad++ by Robert Di Pardo, Copyright 2024" FileDescription="F# source code lexer and IPC client for F# Interactive" InternalName="$NameOnly($(ProjFile))" LegalCopyright="Copyright 2010 Prapin Peethambaran" OriginalFilename="$NameOnly($(ProjFile)).dll" ProductName="$NameOnly($(ProjFile))" ProductVersion="0.2.2.0"/>
3029
</VersionInfo>
3130
<BuildModes Count="2">
3231
<Item1 Name="Debug" Default="True"/>
@@ -89,7 +88,7 @@
8988
<DefaultFilename Value="../RichMemo/richmemopackage.lpk" Prefer="True"/>
9089
</Item2>
9190
</RequiredPackages>
92-
<Units Count="11">
91+
<Units Count="10">
9392
<Unit0>
9493
<Filename Value="NPPFSIPlugin.lpr"/>
9594
<IsPartOfProject Value="True"/>
@@ -99,50 +98,46 @@
9998
<IsPartOfProject Value="True"/>
10099
</Unit1>
101100
<Unit2>
102-
<Filename Value="Src/NPP.pas"/>
101+
<Filename Value="Src/FSIWrapper.pas"/>
103102
<IsPartOfProject Value="True"/>
104103
</Unit2>
105104
<Unit3>
106-
<Filename Value="Src/FSIWrapper.pas"/>
105+
<Filename Value="Src/Constants.pas"/>
107106
<IsPartOfProject Value="True"/>
108107
</Unit3>
109108
<Unit4>
110-
<Filename Value="Src/Constants.pas"/>
109+
<Filename Value="Src/Config.pas"/>
111110
<IsPartOfProject Value="True"/>
112111
</Unit4>
113112
<Unit5>
114-
<Filename Value="Src/Config.pas"/>
113+
<Filename Value="Src/ILexerExports.pas"/>
115114
<IsPartOfProject Value="True"/>
116115
</Unit5>
117116
<Unit6>
118-
<Filename Value="Src/ILexerExports.pas"/>
119-
<IsPartOfProject Value="True"/>
120-
</Unit6>
121-
<Unit7>
122-
<Filename Value="Src/ClassLib/Utf8IniFiles.pas"/>
123-
<IsPartOfProject Value="True"/>
124-
</Unit7>
125-
<Unit8>
126117
<Filename Value="Forms/FSIHostForm.pas"/>
127118
<IsPartOfProject Value="True"/>
128119
<ComponentName Value="FrmFSIHost"/>
129120
<HasResources Value="True"/>
130121
<ResourceBaseClass Value="Form"/>
131-
</Unit8>
132-
<Unit9>
122+
</Unit6>
123+
<Unit7>
133124
<Filename Value="Forms/ConfigForm.pas"/>
134125
<IsPartOfProject Value="True"/>
135126
<ComponentName Value="FrmConfiguration"/>
136127
<HasResources Value="True"/>
137128
<ResourceBaseClass Value="Form"/>
138-
</Unit9>
139-
<Unit10>
129+
</Unit7>
130+
<Unit8>
140131
<Filename Value="Forms/AboutForm.pas"/>
141132
<IsPartOfProject Value="True"/>
142133
<ComponentName Value="FrmAbout"/>
143134
<HasResources Value="True"/>
144135
<ResourceBaseClass Value="Form"/>
145-
</Unit10>
136+
</Unit8>
137+
<Unit9>
138+
<Filename Value="Src/DLLExports.pas"/>
139+
<IsPartOfProject Value="True"/>
140+
</Unit9>
146141
</Units>
147142
</ProjectOptions>
148143
<CompilerOptions>

Source/Plugin/Src/FSIPlugin.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ constructor TFsiPlugin.Create;
143143
case Id of
144144
FSI_INVOKE_CMD_ID: begin
145145
Cmd := _toggleFSI;
146-
PSk := MakeShortcutKey(False, True, False, $54);
146+
PSk := MakeShortcutKey(False, True, True, $7B);
147147
end;
148148
FSI_SEND_TEXT_CMD_ID: begin
149149
Cmd := _sendText;

make_release.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
::
55
SETLOCAL
66

7-
set "VERSION=0.2.1.1"
7+
set "VERSION=0.2.2.0"
88
set "PLUGIN=NPPFSIPlugin"
99
set "BIN_DIR=.\Source\Plugin\Bin"
1010
set "CONFIG_DIR=.\Source\Plugin\Config"

0 commit comments

Comments
 (0)