Compare commits

...

16 Commits

Author SHA1 Message Date
266c6ee507 finalize the screenshots 2026-02-15 17:19:38 +00:00
2954cb8678 Incremented to version v0.1.17
All checks were successful
Release / release (push) Successful in 1m16s
2026-02-15 17:07:50 +00:00
4b75381cb9 make dropdown menus uniform between linux and windows 2026-02-15 17:07:11 +00:00
90ce361ea5 windows screenshot for readme 2026-02-15 16:47:53 +00:00
508a1c48e3 Incremented to version v0.1.16
All checks were successful
Release / release (push) Successful in 1m21s
2026-02-15 15:33:45 +00:00
f98471e4f4 fix broken word wrapping 2026-02-15 15:32:44 +00:00
209ede7a1a Incremented to version v0.1.15
All checks were successful
Release / release (push) Successful in 1m18s
2026-02-15 14:22:21 +00:00
245a56d270 one final. last. dead end. attempt 2026-02-15 14:22:06 +00:00
89f4b0aeba Incremented to version v0.1.14
All checks were successful
Release / release (push) Successful in 1m15s
2026-02-15 14:15:47 +00:00
962e3632bb one final. last. dead end. attempt 2026-02-15 14:15:23 +00:00
98264b2a3c Incremented to version v0.1.13
All checks were successful
Release / release (push) Successful in 1m17s
2026-02-15 14:09:08 +00:00
b832ba5f8f annotation message. not commit message 2026-02-15 14:08:31 +00:00
43281e047d Incremented to version v0.1.12
All checks were successful
Release / release (push) Successful in 1m14s
2026-02-15 13:59:41 +00:00
21c3a7c7c0 debugging the runner again 2026-02-15 13:58:50 +00:00
b0e2eda4bb Incremented to version v0.1.11
All checks were successful
Release / release (push) Successful in 1m19s
2026-02-15 13:54:17 +00:00
d652ec7c04 last ditch effort to fix the yaml 2026-02-15 13:53:36 +00:00
8 changed files with 49 additions and 7 deletions

View File

@ -15,6 +15,9 @@ jobs:
run: echo "${LOCIP} gitea.comnenos" >> /etc/hosts
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Install Build Dependencies
run: |
@ -92,8 +95,14 @@ jobs:
run: |
VERSION=${GITHUB_REF#refs/tags/}
# Get the tag message
TAG_MESSAGE=$(git tag -l --format='%(contents)' ${VERSION})
# Explicitly fetch the tag with annotation
echo "Fetching tag ${VERSION} with annotation..."
git fetch origin tag ${VERSION} --force
# Get the tag annotation message (not the commit message)
echo "Extracting tag annotation..."
TAG_MESSAGE=$(git cat-file tag ${VERSION} | sed '1,/^$/d')
echo "Tag annotation: ${TAG_MESSAGE}"
# Create release body
RELEASE_BODY=$(printf "%s\n\n## Downloads\n\n### Linux\n- **AppImage**: Portable, single-file executable (no installation needed)\n- **Tarball**: Extract and run \`sudo ./install.sh\` to install\n\n### Windows\n- **Zip**: Extract and run \`NotePad.exe\`" "$TAG_MESSAGE")

View File

@ -4,6 +4,27 @@
Title="Untitled - Notepad"
Width="600" Height="400">
<Window.Styles>
<Style Selector="Menu">
<Setter Property="Background" Value="#D3D3D3"/>
</Style>
<Style Selector="MenuItem">
<Setter Property="Background" Value="#D3D3D3"/>
<Setter Property="Foreground" Value="Black"/>
</Style>
<Style Selector="MenuItem:pointerover /template/ Border#PART_LayoutRoot">
<Setter Property="Background" Value="#A9A9A9"/>
</Style>
<Style Selector="MenuItem:open /template/ Popup#PART_Popup > Border">
<Setter Property="Background" Value="#D3D3D3"/>
<Setter Property="BorderBrush" Value="#A9A9A9"/>
<Setter Property="BorderThickness" Value="1"/>
</Style>
<Style Selector="Separator">
<Setter Property="Background" Value="#A9A9A9"/>
</Style>
</Window.Styles>
<DockPanel>
<!-- Menu Bar -->
<Menu DockPanel.Dock="Top">
@ -29,7 +50,7 @@
<MenuItem Header="F_ormat">
<MenuItem Header="_Word Wrap" x:Name="WordWrapMenuItem" Click="OnWordWrapToggle">
<MenuItem.Icon>
<CheckBox x:Name="WordWrapCheckBox" IsChecked="True" IsHitTestVisible="False"/>
<CheckBox x:Name="WordWrapCheckBox" IsChecked="False" IsHitTestVisible="False"/>
</MenuItem.Icon>
</MenuItem>
</MenuItem>
@ -43,7 +64,7 @@
<TextBox x:Name="EditorTextBox"
AcceptsReturn="True"
AcceptsTab="True"
TextWrapping="Wrap"
TextWrapping="NoWrap"
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch"
ScrollViewer.VerticalScrollBarVisibility="Auto"

View File

@ -294,7 +294,17 @@ namespace NotePad
var textBox = this.FindControl<TextBox>("EditorTextBox")!;
checkBox.IsChecked = !checkBox.IsChecked;
textBox.TextWrapping = checkBox.IsChecked == true ? TextWrapping.Wrap : TextWrapping.NoWrap;
if (checkBox.IsChecked == true)
{
textBox.TextWrapping = TextWrapping.Wrap;
ScrollViewer.SetHorizontalScrollBarVisibility(textBox, Avalonia.Controls.Primitives.ScrollBarVisibility.Disabled);
}
else
{
textBox.TextWrapping = TextWrapping.NoWrap;
ScrollViewer.SetHorizontalScrollBarVisibility(textBox, Avalonia.Controls.Primitives.ScrollBarVisibility.Auto);
}
}
// Edit Menu

View File

@ -7,7 +7,7 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
<ApplicationIcon>img\notepad-icon.ico</ApplicationIcon>
<Version>0.1.10</Version>
<Version>0.1.17</Version>
</PropertyGroup>
<ItemGroup>

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View File

@ -2,7 +2,9 @@
A simple cross-platform text editor built with Avalonia UI and .NET 8.
![Screenshot](NotePad/img/notepad-screenshot.png)
| Windows | Linux |
|-----------------------------------------------------------------| ----- |
| ![Windows Screenshot](NotePad/img/notepad-screenshot-win11.png) | ![Linux Screenshot](NotePad/img/notepad-screenshot-linux.png) |
## Installation