Add .gitattributes file#122
Add .gitattributes file#122rcdailey wants to merge 1 commit intonotepad-plus-plus:masterfrom rcdailey:git-attributes
Conversation
Convert line endings to CRLF on checkout for Windows batch scripts and Visual Studio solution/project files.
|
Why the need to explicitly set |
|
It depends of the client configuration. |
|
My question is: why *.bat, *.sln, *.vcxproj need |
|
I don't understand |
Suppose one's working directory uses LF, we need to force .bat, .sln, .vcxproj files into CRLF because: |
|
You're right. It already annoys me. We will see later once all files have proper line endings. |
|
Imo only 3 had errors (mixed eol), see #508. |
|
It is just temporary :) |
update to https://www.scintilla.org/scintilla533.zip with: Released 8 February 2023. Fix SCI_LINESJOIN bug where carriage returns were incorrectly retained. Bug notepad-plus-plus#2372. Fix SCI_VERTICALCENTRECARET to update the vertical scroll position. When an autocompletion list is shown in response to SCN_CHARADDED, do not process character as fill-up or stop. This avoids closing immediately when a character may both trigger and finish autocompletion. On Cocoa fix character input bug where dotless 'i' and some other extended Latin characters could not be entered. The change also stops SCI_ASSIGNCMDKEY from working with these characters on Cocoa. Bug notepad-plus-plus#2374. On GTK, support IME context. Feature notepad-plus-plus#1476. On GTK on Win32, fix scrolling speed to not be too fast. Bug notepad-plus-plus#2375. On Qt, fix indicator drawing past left of text pane over margin. Bug notepad-plus-plus#2373, Bug notepad-plus-plus#1956. On Qt, allow scrolling with mouse wheel when scroll bar hidden. and https://www.scintilla.org/lexilla522.zip with Released 8 February 2023. C++: Fix keywords that start with non-ASCII. Also affects other lexers. Issue notepad-plus-plus#130. Matlab: Include more prefix and suffix characters in numeric literals. Issue notepad-plus-plus#120. Matlab: More accurate treatment of line ends inside strings. Matlab and Octave are different here. Issue notepad-plus-plus#18. Modula-3: Don't treat identifier suffix that matches keyword as keyword. Issue notepad-plus-plus#129. Modula-3: Fix endless loop in folder. Issue notepad-plus-plus#128. Modula-3: Fix access to lines beyond document end in folder. Issue notepad-plus-plus#131. Python: Don't highlight match and case as keywords in contexts where they probably aren't used as keywords. Pull request notepad-plus-plus#122. X12: Support empty envelopes. Bug notepad-plus-plus#2369.
update to https://www.scintilla.org/scintilla533.zip with: Released 8 February 2023. Fix SCI_LINESJOIN bug where carriage returns were incorrectly retained. Bug notepad-plus-plus#2372. Fix SCI_VERTICALCENTRECARET to update the vertical scroll position. When an autocompletion list is shown in response to SCN_CHARADDED, do not process character as fill-up or stop. This avoids closing immediately when a character may both trigger and finish autocompletion. On Cocoa fix character input bug where dotless 'i' and some other extended Latin characters could not be entered. The change also stops SCI_ASSIGNCMDKEY from working with these characters on Cocoa. Bug notepad-plus-plus#2374. On GTK, support IME context. Feature notepad-plus-plus#1476. On GTK on Win32, fix scrolling speed to not be too fast. Bug notepad-plus-plus#2375. On Qt, fix indicator drawing past left of text pane over margin. Bug notepad-plus-plus#2373, Bug notepad-plus-plus#1956. On Qt, allow scrolling with mouse wheel when scroll bar hidden. and https://www.scintilla.org/lexilla522.zip with Released 8 February 2023. C++: Fix keywords that start with non-ASCII. Also affects other lexers. Issue notepad-plus-plus#130. Matlab: Include more prefix and suffix characters in numeric literals. Issue notepad-plus-plus#120. Matlab: More accurate treatment of line ends inside strings. Matlab and Octave are different here. Issue notepad-plus-plus#18. Modula-3: Don't treat identifier suffix that matches keyword as keyword. Issue notepad-plus-plus#129. Modula-3: Fix endless loop in folder. Issue notepad-plus-plus#128. Modula-3: Fix access to lines beyond document end in folder. Issue notepad-plus-plus#131. Python: Don't highlight match and case as keywords in contexts where they probably aren't used as keywords. Pull request notepad-plus-plus#122. X12: Support empty envelopes. Bug notepad-plus-plus#2369. update CMakeLists.txt to latest changes within vcxproj file
update to https://www.scintilla.org/scintilla533.zip with: Released 8 February 2023. Fix SCI_LINESJOIN bug where carriage returns were incorrectly retained. Bug notepad-plus-plus#2372. Fix SCI_VERTICALCENTRECARET to update the vertical scroll position. When an autocompletion list is shown in response to SCN_CHARADDED, do not process character as fill-up or stop. This avoids closing immediately when a character may both trigger and finish autocompletion. On Cocoa fix character input bug where dotless 'i' and some other extended Latin characters could not be entered. The change also stops SCI_ASSIGNCMDKEY from working with these characters on Cocoa. Bug notepad-plus-plus#2374. On GTK, support IME context. Feature notepad-plus-plus#1476. On GTK on Win32, fix scrolling speed to not be too fast. Bug notepad-plus-plus#2375. On Qt, fix indicator drawing past left of text pane over margin. Bug notepad-plus-plus#2373, Bug notepad-plus-plus#1956. On Qt, allow scrolling with mouse wheel when scroll bar hidden. and https://www.scintilla.org/lexilla522.zip with Released 8 February 2023. C++: Fix keywords that start with non-ASCII. Also affects other lexers. Issue notepad-plus-plus#130. Matlab: Include more prefix and suffix characters in numeric literals. Issue notepad-plus-plus#120. Matlab: More accurate treatment of line ends inside strings. Matlab and Octave are different here. Issue notepad-plus-plus#18. Modula-3: Don't treat identifier suffix that matches keyword as keyword. Issue notepad-plus-plus#129. Modula-3: Fix endless loop in folder. Issue notepad-plus-plus#128. Modula-3: Fix access to lines beyond document end in folder. Issue notepad-plus-plus#131. Python: Don't highlight match and case as keywords in contexts where they probably aren't used as keywords. Pull request notepad-plus-plus#122. X12: Support empty envelopes. Bug notepad-plus-plus#2369. update CMakeLists.txt to latest changes within vcxproj file
update to https://www.scintilla.org/scintilla533.zip with: Released 8 February 2023. Fix SCI_LINESJOIN bug where carriage returns were incorrectly retained. Bug notepad-plus-plus#2372. Fix SCI_VERTICALCENTRECARET to update the vertical scroll position. When an autocompletion list is shown in response to SCN_CHARADDED, do not process character as fill-up or stop. This avoids closing immediately when a character may both trigger and finish autocompletion. On Cocoa fix character input bug where dotless 'i' and some other extended Latin characters could not be entered. The change also stops SCI_ASSIGNCMDKEY from working with these characters on Cocoa. Bug notepad-plus-plus#2374. On GTK, support IME context. Feature notepad-plus-plus#1476. On GTK on Win32, fix scrolling speed to not be too fast. Bug notepad-plus-plus#2375. On Qt, fix indicator drawing past left of text pane over margin. Bug notepad-plus-plus#2373, Bug notepad-plus-plus#1956. On Qt, allow scrolling with mouse wheel when scroll bar hidden. and https://www.scintilla.org/lexilla522.zip with Released 8 February 2023. C++: Fix keywords that start with non-ASCII. Also affects other lexers. Issue notepad-plus-plus#130. Matlab: Include more prefix and suffix characters in numeric literals. Issue notepad-plus-plus#120. Matlab: More accurate treatment of line ends inside strings. Matlab and Octave are different here. Issue notepad-plus-plus#18. Modula-3: Don't treat identifier suffix that matches keyword as keyword. Issue notepad-plus-plus#129. Modula-3: Fix endless loop in folder. Issue notepad-plus-plus#128. Modula-3: Fix access to lines beyond document end in folder. Issue notepad-plus-plus#131. Python: Don't highlight match and case as keywords in contexts where they probably aren't used as keywords. Pull request notepad-plus-plus#122. X12: Support empty envelopes. Bug notepad-plus-plus#2369. update CMakeLists.txt to latest changes within vcxproj file
update to https://www.scintilla.org/scintilla533.zip with: 1. Released 8 February 2023. 2. Fix SCI_LINESJOIN bug where carriage returns were incorrectly retained. Bug notepad-plus-plus#2372. 3. Fix SCI_VERTICALCENTRECARET to update the vertical scroll position. 4. When an autocompletion list is shown in response to SCN_CHARADDED, do not process character as fill-up or stop. This avoids closing immediately when a character may both trigger and finish autocompletion. 5. On Cocoa fix character input bug where dotless 'i' and some other extended Latin characters could not be entered. The change also stops SCI_ASSIGNCMDKEY from working with these characters on Cocoa. Bug notepad-plus-plus#2374. 6. On GTK, support IME context. Feature notepad-plus-plus#1476. 7. On GTK on Win32, fix scrolling speed to not be too fast. Bug notepad-plus-plus#2375. 8. On Qt, fix indicator drawing past left of text pane over margin. Bug notepad-plus-plus#2373, Bug notepad-plus-plus#1956. 9. On Qt, allow scrolling with mouse wheel when scroll bar hidden. and https://www.scintilla.org/lexilla522.zip with 1. Released 8 February 2023. 2. C++: Fix keywords that start with non-ASCII. Also affects other lexers. Issue notepad-plus-plus#130. 3. Matlab: Include more prefix and suffix characters in numeric literals. Issue notepad-plus-plus#120. 4. Matlab: More accurate treatment of line ends inside strings. Matlab and Octave are different here. Issue notepad-plus-plus#18. 5. Modula-3: Don't treat identifier suffix that matches keyword as keyword. Issue notepad-plus-plus#129. 6. Modula-3: Fix endless loop in folder. Issue notepad-plus-plus#128. 7. Modula-3: Fix access to lines beyond document end in folder. Issue notepad-plus-plus#131. 8. Python: Don't highlight match and case as keywords in contexts where they probably aren't used as keywords. Pull request notepad-plus-plus#122. 9. X12: Support empty envelopes. Bug notepad-plus-plus#2369. update CMakeLists.txt to latest changes within vcxproj file Close notepad-plus-plus#13082
Only adding
.gitattributesfile this time. Note that you should highly consider normalizing line endings one way or another before you commit this to your repo publicly, otherwise EOL hell will ensue.