Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
goswinr committed Jul 5, 2024
1 parent b61695d commit a24e267
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion FeshHosting.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<PackageReference Update="FSharp.Core" Version="8.0.300" />
<PackageReference Include="FSharp.Compiler.Service" Version="43.8.300" />
<PackageReference Include="Fittings" Version="0.6.0" />
<PackageReference Include="AvalonLog" Version="0.12.0" />
<PackageReference Include="AvalonLog" Version="0.13.0" />

<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
<!-- https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#controlling-dependency-assets -->
Expand Down
7 changes: 6 additions & 1 deletion Media/READMEnuget.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# Fesh
Scripting Editor for FSharp

Fesh is an WPF editor and runtime for F# scripts.

It is based on the excellent [AvalonEdit](https://github.com/icsharpcode/AvalonEdit)


6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
Fesh is a Scripting Editor for F# on Windows.
![Screenshot](https://raw.githubusercontent.com/goswinr/Fesh/main/Doc/screenshot1.png)

The Editor supports morden IDE features like semantic syntax highlighting, typ info and autocomplete.
Unlike the typical F# REPL this editor has the input and the output in two separate windows.
The Editor supports modern IDE features like semantic syntax highlighting, typ info and autocomplete.
Unlike a typical F# REPL this editor has the input and the output in two separate windows.
Just [like Don Syme always wanted it to be](https://github.com/dotnet/fsharp/issues/2161#issuecomment-270465310).
The Editor can easily be hosted in other apps to create an Application scripting tool.
The Editor can easily be hosted in other apps to create an application scripting tool.
This was in fact the primary motivation for creating this editor.
see the nuget package [![Fesh on nuget.org](https://img.shields.io/nuget/v/Fesh.svg)](https://www.nuget.org/packages/Fesh/)
and [Fesh.Rhino](https://github.com/goswinr/Fesh.Rhino) as an example.
Expand Down
6 changes: 3 additions & 3 deletions Src/Fsi.fs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ type Fsi private (config:Config) =
System.Windows.Threading.Dispatcher.Run()
))
#if NETFRAMEWORK
thread.SetApartmentState(ApartmentState.STA) // works only on net48?
thread.SetApartmentState(ApartmentState.STA) // works only on net48? so that the thread can create WPF windows.
#endif
thread.IsBackground <- true
thread.Start()
Expand Down Expand Up @@ -539,7 +539,7 @@ type Fsi private (config:Config) =
"Cancel Current Evaluation?",
MessageBoxButton.YesNo,
MessageBoxImage.Exclamation,
MessageBoxResult.No,// default result
MessageBoxResult.No, // default result
MessageBoxOptions.None) with
| MessageBoxResult.Yes ->
match state with // might have changed in the meantime of Message box show
Expand All @@ -556,7 +556,7 @@ type Fsi private (config:Config) =
"Cancel Current Evaluation?",
MessageBoxButton.YesNo,
MessageBoxImage.Exclamation,
MessageBoxResult.No,// default result
MessageBoxResult.No, // default result
MessageBoxOptions.None) with
| MessageBoxResult.Yes ->
match state with // might have changed in the meantime of Message box show
Expand Down

0 comments on commit a24e267

Please sign in to comment.