Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions .github/workflows/CI_build.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1 @@
name: CI build

on:
pull_request:
push:
branches: [main]

jobs:
build:
runs-on: windows-latest

strategy:
fail-fast: false
matrix:
config: [Debug Unicode, Release Unicode]
platform: [Win32, x64]

name: ${{ matrix.config }} / ${{ matrix.platform }}

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2

- name: Setup NuGet
uses: NuGet/setup-nuget@v2

- name: Restore
run: nuget restore

- name: Build
run: |
msbuild NppTextFX2.sln ^
/p:Configuration="${{ matrix.config }}" ^
/p:Platform="${{ matrix.platform }}" ^
/m

# 🔵 Artefakte für Release builds (Win32 + x64)
- name: Upload Release artifact
if: matrix.config == 'Release Unicode'
uses: actions/upload-artifact@v4
with:
name: NppTextFX2_${{ matrix.platform }}
path: |
**/${{ matrix.platform }}/Release*/NppTextFX*.dll
3 changes: 1 addition & 2 deletions SRC/NPPTextFX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4955,8 +4955,7 @@ EXTERNC void convertall(char cmd,unsigned flags,const char *s1,const char *s2,co
SENDMSGTOCED(currentEdit, SCI_REPLACETARGET, chn, d);
}
d += chn;
if ((d[0]=='\r' && d[1]=='\n') || (d[0]=='\n' && d[1]=='\r')) d+=2;
else if (d[0]=='\r' || d[0]=='\n') d++;
d = memspn(d,end,"\r\n",2);
}
/*curpos = lpe[blocklines-1]+SENDMSGTOCED(currentEdit, SCI_POSITIONFROMLINE, p1line+blocklines-1, 0);
if (curpos<anchor) curpos=anchor+1; // carefully constructed cases can push anchor ahead of curpos
Expand Down