# Canonical text handling. Git stores normalized text as LF and checks files
# out using the platform-specific line endings selected below.
* text=auto

# Visual Studio and Windows-native source files.
*.c          text eol=crlf
*.cc         text eol=crlf
*.cpp        text eol=crlf
*.cxx        text eol=crlf
*.h          text eol=crlf
*.hh         text eol=crlf
*.hpp        text eol=crlf
*.rc         text eol=crlf
*.def        text eol=crlf
*.inf        text eol=crlf
*.sln        text eol=crlf
*.vcxproj    text eol=crlf
*.filters    text eol=crlf
*.props      text eol=crlf
*.targets    text eol=crlf
*.user       text eol=crlf
*.qrc        text eol=crlf
*.ui         text eol=crlf
*.pro        text eol=crlf
*.pri        text eol=crlf
*.ps1        text eol=crlf
*.bat        text eol=crlf
*.cmd        text eol=crlf

# Cross-platform documentation, data, scripts, and web sources.
*.md         text eol=lf whitespace=-trailing-space
*.txt        text eol=lf
*.json       text eol=lf
*.xml        text eol=lf
*.yml        text eol=lf
*.yaml       text eol=lf
*.toml       text eol=lf
*.ini        text eol=lf
*.py         text eol=lf
*.sh         text eol=lf
*.cmake      text eol=lf
CMakeLists.txt text eol=lf
*.html       text eol=lf
*.css        text eol=lf
*.js         text eol=lf
*.ts         text eol=lf
*.qml        text eol=lf
*.gitignore  text eol=lf
.gitignore   text eol=lf
.gitattributes text eol=lf
.editorconfig text eol=lf

# Large icon collections and vendored sources retain their upstream bytes.
*.svg -text
third_party/** -text
KswordSetup/fltk/** -text

# Binary artifacts and resources.
*.7z  binary
*.zip binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.bmp binary
*.ico binary
*.psd binary
*.cer binary
*.exe binary
*.dll binary
*.lib binary
*.a   binary
*.pdb binary
*.sys binary
