bscintillaedit 0.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bscintillaedit-0.0.2/.gitignore +9 -0
- bscintillaedit-0.0.2/.gitlab-ci.yml +9 -0
- bscintillaedit-0.0.2/.gitmodules +3 -0
- bscintillaedit-0.0.2/.vscode/git_bash_custom.bat +23 -0
- bscintillaedit-0.0.2/.vscode/settings.json +25 -0
- bscintillaedit-0.0.2/CMakeLists.txt +141 -0
- bscintillaedit-0.0.2/CMakePresets.json +56 -0
- bscintillaedit-0.0.2/LICENSE.md +21 -0
- bscintillaedit-0.0.2/PKG-INFO +30 -0
- bscintillaedit-0.0.2/README.md +1 -0
- bscintillaedit-0.0.2/docs/.nojekyll +0 -0
- bscintillaedit-0.0.2/docs/LICENSE.md +21 -0
- bscintillaedit-0.0.2/docs/README.md +11 -0
- bscintillaedit-0.0.2/docs/_footer.md +3 -0
- bscintillaedit-0.0.2/docs/_sidebar.md +3 -0
- bscintillaedit-0.0.2/docs/development.md +48 -0
- bscintillaedit-0.0.2/docs/index.html +108 -0
- bscintillaedit-0.0.2/docs/repo-logo.svg +12 -0
- bscintillaedit-0.0.2/pyproject.toml +85 -0
- bscintillaedit-0.0.2/src/bscintillaedit/__init__.py +3 -0
- bscintillaedit-0.0.2/src/core_lib/CMakeLists.txt +112 -0
- bscintillaedit-0.0.2/src/core_lib/README.md +14 -0
- bscintillaedit-0.0.2/src/core_lib/bscintillaedit.cpp +202 -0
- bscintillaedit-0.0.2/src/core_lib/bscintillaedit.h +56 -0
- bscintillaedit-0.0.2/src/core_lib/macros.h +13 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/.editorconfig +4 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/.hgeol +48 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/.hgignore +81 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/.hgtags +213 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/CONTRIBUTING +20 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/License.txt +20 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/README +92 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/bin/__init__.py +1 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/bin/empty.txt +1 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/call/ScintillaCall.cxx +3532 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/DictionaryForCF.h +36 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/InfoBar.h +53 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/InfoBar.mm +410 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/InfoBarCommunicator.h +35 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/PlatCocoa.h +142 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/PlatCocoa.mm +2380 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/QuartzTextLayout.h +101 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/QuartzTextStyle.h +95 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/QuartzTextStyleAttribute.h +101 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/Scintilla/Info.plist +24 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/Scintilla/Scintilla.xcodeproj/project.pbxproj +771 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/Scintilla/Scintilla.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/Scintilla/Scintilla.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/Scintilla/module.modulemap +10 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaCocoa.h +270 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaCocoa.mm +2776 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaTest/AppController.h +31 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaTest/AppController.mm +321 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaTest/Info.plist +28 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaTest/Scintilla-Info.plist +20 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaTest/ScintillaTest.xcodeproj/project.pbxproj +474 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaTest/ScintillaTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaTest/ScintillaTest.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaTest/ScintillaTest_Prefix.pch +7 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaTest/TestData.sql +215 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaTest/en.lproj/InfoPlist.strings +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaTest/en.lproj/MainMenu.xib +609 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaTest/main.m +15 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaView.h +168 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/ScintillaView.mm +2246 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/checkbuildosx.sh +66 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/res/info_bar_bg.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/res/info_bar_bg@2x.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/res/mac_cursor_busy.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/res/mac_cursor_busy@2x.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/res/mac_cursor_flipped.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cocoa/res/mac_cursor_flipped@2x.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/cppcheck.suppress +84 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/delbin.bat +1 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/AddSource.txt +30 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/ChangeHistory.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/Design.html +246 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/Icons.html +57 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/Indicators.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/Lexer.txt +226 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/Markers.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/Privacy.html +70 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/SciBreak.jpg +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/SciCoding.html +296 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/SciRest.jpg +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/SciTEIco.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/SciWord.jpg +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/Scintilla5Migration.html +225 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/ScintillaDoc.html +10344 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/ScintillaDownload.html +71 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/ScintillaHistory.html +14209 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/ScintillaLogo.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/ScintillaLogo2x.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/ScintillaRelated.html +570 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/ScintillaToDo.html +141 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/ScintillaUsage.html +376 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/StadiumVariants.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/Steps.html +142 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/StyleMetadata.html +204 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/annotations.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/eolannotation.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/index.html +197 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/doc/styledmargin.png +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/gtk/Converter.h +72 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/gtk/DepGen.py +23 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/gtk/PlatGTK.cxx +2240 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/gtk/ScintillaGTK.cxx +3394 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/gtk/ScintillaGTK.h +337 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/gtk/ScintillaGTKAccessible.cxx +1264 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/gtk/ScintillaGTKAccessible.h +194 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/gtk/Wrappers.h +109 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/gtk/deps.mak +520 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/gtk/makefile +172 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/gtk/scintilla-marshal.c +122 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/gtk/scintilla-marshal.h +30 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/gtk/scintilla-marshal.list +2 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/include/ILexer.h +85 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/include/ILoader.h +38 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/include/Sci_Position.h +29 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/include/Scintilla.h +1476 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/include/Scintilla.iface +3551 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/include/ScintillaCall.h +937 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/include/ScintillaMessages.h +832 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/include/ScintillaStructures.h +129 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/include/ScintillaTypes.h +855 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/include/ScintillaWidget.h +72 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/README +32 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEdit/ScintillaDocument.cpp +277 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEdit/ScintillaDocument.h +95 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEdit/ScintillaEdit.cpp.template +87 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEdit/ScintillaEdit.h.template +73 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEdit/ScintillaEdit.pro +78 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEdit/WidgetGen.py +252 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEditBase/Notes.txt +18 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEditBase/PlatQt.cpp +1386 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEditBase/PlatQt.h +164 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEditBase/ScintillaEditBase.cpp +827 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEditBase/ScintillaEditBase.h +168 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEditBase/ScintillaEditBase.pro +107 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEditBase/ScintillaQt.cpp +872 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/qt/ScintillaEditBase/ScintillaQt.h +185 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/CheckMentioned.py +230 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/Dependencies.py +152 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/Face.py +147 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/FileGenerator.py +185 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/GenerateCaseConvert.py +127 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/GenerateCharacterCategory.py +53 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/HFacer.py +59 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/HeaderCheck.py +116 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/HeaderOrder.txt +181 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/LexGen.py +80 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/ScintillaAPIFacer.py +290 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/ScintillaData.py +85 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/__init__.py +0 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/scripts/archive.sh +5 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/AutoComplete.cxx +303 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/AutoComplete.h +98 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CallTip.cxx +358 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CallTip.h +97 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CaseConvert.cxx +796 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CaseConvert.h +46 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CaseFolder.cxx +61 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CaseFolder.h +46 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CellBuffer.cxx +1320 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CellBuffer.h +208 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/ChangeHistory.cxx +500 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/ChangeHistory.h +124 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CharClassify.cxx +60 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CharClassify.h +32 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CharacterCategoryMap.cxx +4241 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CharacterCategoryMap.h +52 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CharacterType.cxx +51 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/CharacterType.h +142 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/ContractionState.cxx +433 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/ContractionState.h +52 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/DBCS.cxx +54 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/DBCS.h +26 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Debugging.h +44 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Decoration.cxx +325 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Decoration.h +59 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Document.cxx +3422 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Document.h +670 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/EditModel.cxx +133 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/EditModel.h +82 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/EditView.cxx +2863 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/EditView.h +164 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Editor.cxx +9015 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Editor.h +735 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/ElapsedPeriod.h +35 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Geometry.cxx +126 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Geometry.h +322 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Indicator.cxx +307 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Indicator.h +57 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/KeyMap.cxx +174 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/KeyMap.h +65 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/LineMarker.cxx +591 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/LineMarker.h +58 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/MarginView.cxx +525 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/MarginView.h +47 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Partitioning.h +237 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/PerLine.cxx +553 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/PerLine.h +140 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Platform.h +382 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Position.h +26 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/PositionCache.cxx +1194 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/PositionCache.h +280 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/RESearch.cxx +959 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/RESearch.h +71 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/RunStyles.cxx +313 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/RunStyles.h +58 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/SciTE.properties +6 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/ScintillaBase.cxx +1145 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/ScintillaBase.h +100 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Selection.cxx +458 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Selection.h +208 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/SparseVector.h +228 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/SplitVector.h +339 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Style.cxx +85 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/Style.h +66 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/UndoHistory.cxx +635 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/UndoHistory.h +160 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/UniConversion.cxx +406 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/UniConversion.h +107 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/UniqueString.cxx +52 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/UniqueString.h +39 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/ViewStyle.cxx +808 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/ViewStyle.h +258 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/XPM.cxx +338 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/src/XPM.h +86 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/MessageNumbers.py +64 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/README +23 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/ScintillaCallable.py +213 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/XiteMenu.py +28 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/XiteWin.py +577 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/gi/Scintilla-0.1.gir.good +345 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/gi/filter-scintilla-h.py +19 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/gi/gi-test.py +26 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/gi/makefile +53 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/performanceTests.py +149 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/simpleTests.py +3550 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/LICENSE_1_0.txt +23 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/README +15 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/Sci.natvis +46 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/SciTE.properties +5 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/UnitTester.cxx +47 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/UnitTester.vcxproj +180 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/catch.hpp +17976 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/makefile +89 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/test.mak +43 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testCellBuffer.cxx +1657 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testCharClassify.cxx +124 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testCharacterCategoryMap.cxx +73 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testContractionState.cxx +205 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testDecoration.cxx +98 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testDocument.cxx +1022 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testGeometry.cxx +246 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testPartitioning.cxx +224 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testPerLine.cxx +393 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testRESearch.cxx +97 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testRunStyles.cxx +381 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testSparseVector.cxx +493 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testSplitVector.cxx +405 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/testUniConversion.cxx +361 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/unit/unitTest.cxx +75 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/win32Tests.py +175 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/test/xite.py +8 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/tgzsrc +4 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/version.txt +1 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/DepGen.py +35 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/HanjaDic.cxx +159 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/HanjaDic.h +22 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/PlatWin.cxx +4173 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/PlatWin.h +86 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/SciTE.properties +21 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/ScintRes.rc +37 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/Scintilla.def +2 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/Scintilla.vcxproj +186 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/ScintillaDLL.cxx +37 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/ScintillaWin.cxx +3856 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/ScintillaWin.h +21 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/WinTypes.h +58 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/deps.mak +478 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/makefile +140 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/nmdeps.mak +478 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/win32/scintilla.mak +148 -0
- bscintillaedit-0.0.2/src/core_lib/scintilla/zipsrc.bat +6 -0
- bscintillaedit-0.0.2/uv.lock +150 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@rem save project path
|
|
2
|
+
@pushd .
|
|
3
|
+
|
|
4
|
+
@rem setup Qt
|
|
5
|
+
@call "%QTENV2_BAT%"
|
|
6
|
+
|
|
7
|
+
@rem restore project path (qtenv2.bat changes path to the Qt folder)
|
|
8
|
+
@popd
|
|
9
|
+
|
|
10
|
+
@rem setup VS2022
|
|
11
|
+
@call "%VCVARSALL_BAT%" %*
|
|
12
|
+
|
|
13
|
+
@rem activate the Python virtual environment, if present
|
|
14
|
+
@set VENV_ACTIVATE=.venv\Scripts\activate.bat
|
|
15
|
+
if exist %VENV_ACTIVATE% (
|
|
16
|
+
@echo Activating .venv ...
|
|
17
|
+
@call %VENV_ACTIVATE%
|
|
18
|
+
) else (
|
|
19
|
+
@echo Local Python .venv not found. You can create one with "uv sync".
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
@rem start a git bash interactive session
|
|
23
|
+
"%GIT_BASH%" --login -i
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"terminal.integrated.defaultProfile.windows": "Git Bash (Custom)",
|
|
3
|
+
"terminal.integrated.profiles.windows": {
|
|
4
|
+
"Git Bash (Custom)": {
|
|
5
|
+
"path": "C:\\WINDOWS\\System32\\cmd.exe",
|
|
6
|
+
"args": [
|
|
7
|
+
"/C",
|
|
8
|
+
"${workspaceFolder}\\.vscode\\git_bash_custom.bat",
|
|
9
|
+
"x64",
|
|
10
|
+
],
|
|
11
|
+
"env": {
|
|
12
|
+
"CLANG_INSTALL_DIR": "C:\\libclang\\libclang-release_19.1.0",
|
|
13
|
+
"GIT_BASH": "C:\\Program Files\\Git\\bin\\sh.exe",
|
|
14
|
+
"QTENV2_BAT": "C:\\Qt\\6.8.1\\msvc2022_64\\bin\\qtenv2.bat",
|
|
15
|
+
"VCVARSALL_BAT": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat",
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"python.terminal.activateEnvInCurrentTerminal": false,
|
|
20
|
+
"python.terminal.activateEnvironment": false,
|
|
21
|
+
"cmake.configureOnOpen": false,
|
|
22
|
+
"cmake.configureOnEdit": false,
|
|
23
|
+
"cmake.useCMakePresets": "never",
|
|
24
|
+
"cmake.ignoreCMakeListsMissing": true,
|
|
25
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.29)
|
|
2
|
+
|
|
3
|
+
# ----------------
|
|
4
|
+
# CMake policies
|
|
5
|
+
# ----------------
|
|
6
|
+
cmake_policy(VERSION 3.29)
|
|
7
|
+
|
|
8
|
+
# Enable policy to not use RPATH settings for install_name on macOS.
|
|
9
|
+
if(POLICY CMP0068)
|
|
10
|
+
cmake_policy(SET CMP0068 NEW)
|
|
11
|
+
endif()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# --------------------
|
|
15
|
+
# Project definition
|
|
16
|
+
# --------------------
|
|
17
|
+
if(NOT SKBUILD)
|
|
18
|
+
message(STATUS "Running CMake directly.")
|
|
19
|
+
set(PROJECT_NAME bscintillaedit)
|
|
20
|
+
else()
|
|
21
|
+
message(STATUS "Running from 'scikit-build-core'.")
|
|
22
|
+
message(PROJECT_NAME ${SKBUILD_PROJECT_NAME})
|
|
23
|
+
endif()
|
|
24
|
+
|
|
25
|
+
project(${SKBUILD_PROJECT_NAME} LANGUAGES CXX)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# --------------
|
|
29
|
+
# C++ features
|
|
30
|
+
# --------------
|
|
31
|
+
set(CMAKE_CXX_STANDARD 20)
|
|
32
|
+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
# ---------
|
|
36
|
+
# Options
|
|
37
|
+
# ---------
|
|
38
|
+
set(BINDINGS_INSTALL_DIR "." CACHE STRING "Folder where to install built bindings.")
|
|
39
|
+
|
|
40
|
+
include(CMakeDependentOption)
|
|
41
|
+
|
|
42
|
+
cmake_dependent_option(
|
|
43
|
+
_CPP_DEV_MODE "Enable C++ developer mode." ON "NOT DEFINED SKBUILD" OFF
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
cmake_dependent_option(
|
|
47
|
+
WITH_TESTS "Build tests." ON "_CPP_DEV_MODE" OFF
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
# Catch2: https://github.com/catchorg/Catch2
|
|
51
|
+
cmake_dependent_option(
|
|
52
|
+
WITH_CATCH2 "Enable Catch2 tests." ON "WITH_TESTS" OFF
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
# Google Test: https://google.github.io/googletest/
|
|
56
|
+
cmake_dependent_option(
|
|
57
|
+
WITH_GTEST "Enable Google Test/Google Mock tests." ON "WITH_TESTS" OFF
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
# C++ Sample apps
|
|
61
|
+
cmake_dependent_option(
|
|
62
|
+
WITH_SAMPLES "Enable C++ samples." ON "_CPP_DEV_MODE" OFF
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
# ------------------
|
|
67
|
+
# Qt configuration
|
|
68
|
+
# ------------------
|
|
69
|
+
set(CMAKE_AUTOUIC ON)
|
|
70
|
+
set(CMAKE_AUTOMOC ON)
|
|
71
|
+
set(CMAKE_AUTORCC ON)
|
|
72
|
+
|
|
73
|
+
find_package(Qt6 REQUIRED COMPONENTS Core5Compat Widgets)
|
|
74
|
+
qt6_standard_project_setup()
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
# --------------------------------------------------------------------
|
|
78
|
+
# FetchContent is required to install software from remote git repos
|
|
79
|
+
# --------------------------------------------------------------------
|
|
80
|
+
# include(FetchContent)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
# -----------
|
|
84
|
+
# c++ tests
|
|
85
|
+
# -----------
|
|
86
|
+
# if(${WITH_TESTS})
|
|
87
|
+
# include(CTest)
|
|
88
|
+
|
|
89
|
+
# if(${WITH_CATCH2})
|
|
90
|
+
# FetchContent_Declare(
|
|
91
|
+
# Catch2
|
|
92
|
+
# GIT_REPOSITORY https://github.com/catchorg/Catch2.git
|
|
93
|
+
# GIT_TAG v3.7.1 # or a later release
|
|
94
|
+
# )
|
|
95
|
+
# FetchContent_MakeAvailable(Catch2)
|
|
96
|
+
|
|
97
|
+
# # dirs with c++ tests
|
|
98
|
+
# add_subdirectory(tests/cpp/catch)
|
|
99
|
+
# endif()
|
|
100
|
+
|
|
101
|
+
# if(${WITH_GTEST})
|
|
102
|
+
# FetchContent_Declare(
|
|
103
|
+
# GoogleTest
|
|
104
|
+
# GIT_REPOSITORY https://github.com/google/googletest
|
|
105
|
+
# GIT_TAG v1.15.2
|
|
106
|
+
# )
|
|
107
|
+
# # For Windows: Prevent overriding the parent project's compiler/linker settings
|
|
108
|
+
# set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
|
109
|
+
# FetchContent_MakeAvailable(GoogleTest)
|
|
110
|
+
|
|
111
|
+
# # dirs with c++ tests
|
|
112
|
+
# add_subdirectory(tests/cpp/google)
|
|
113
|
+
# endif()
|
|
114
|
+
# endif()
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
# ------------------
|
|
118
|
+
# Check for Python
|
|
119
|
+
# ------------------
|
|
120
|
+
# set (Python_FIND_VIRTUALENV ONLY)
|
|
121
|
+
# find_package(Python 3
|
|
122
|
+
# REQUIRED COMPONENTS Interpreter Development.Module
|
|
123
|
+
# OPTIONAL_COMPONENTS Development.SABIModule
|
|
124
|
+
# )
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
# ----------------------------------
|
|
128
|
+
# Add subdirectories with C++ code
|
|
129
|
+
# ----------------------------------
|
|
130
|
+
add_subdirectory(src/core_lib)
|
|
131
|
+
|
|
132
|
+
# if(${WITH_SAMPLES})
|
|
133
|
+
# add_subdirectory(samples/cpp/hello_widget_sample)
|
|
134
|
+
# endif()
|
|
135
|
+
|
|
136
|
+
# ----------
|
|
137
|
+
# Shiboken
|
|
138
|
+
# ----------
|
|
139
|
+
# include(cmake/shiboken.cmake)
|
|
140
|
+
|
|
141
|
+
# add_subdirectory(src/bindings_lib)
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 8,
|
|
3
|
+
"configurePresets": [
|
|
4
|
+
{
|
|
5
|
+
"name": "default",
|
|
6
|
+
"displayName": "Default Config",
|
|
7
|
+
"description": "Default build using Ninja generator",
|
|
8
|
+
"binaryDir": "${sourceDir}/build/${presetName}",
|
|
9
|
+
"generator": "Ninja",
|
|
10
|
+
"cacheVariables": {
|
|
11
|
+
"BINDINGS_INSTALL_DIR": "${sourceDir}/build/install/${presetName}",
|
|
12
|
+
"_CPP_DEV_MODE": false
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"inherits": "default",
|
|
17
|
+
"name": "venv",
|
|
18
|
+
"description": "Use Python3 installed in .venv with `uv sync`"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"buildPresets": [
|
|
22
|
+
{
|
|
23
|
+
"name": "venv",
|
|
24
|
+
"configurePreset": "venv",
|
|
25
|
+
"targets": "install"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"testPresets": [
|
|
29
|
+
{
|
|
30
|
+
"name": "venv",
|
|
31
|
+
"configurePreset": "venv",
|
|
32
|
+
"output": {
|
|
33
|
+
"outputOnFailure": true
|
|
34
|
+
},
|
|
35
|
+
"execution": {
|
|
36
|
+
"noTestsAction": "error",
|
|
37
|
+
"stopOnFailure": true
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"workflowPresets": [
|
|
42
|
+
{
|
|
43
|
+
"name": "venv",
|
|
44
|
+
"steps": [
|
|
45
|
+
{
|
|
46
|
+
"type": "configure",
|
|
47
|
+
"name": "venv"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "build",
|
|
51
|
+
"name": "venv"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# MIT License
|
|
2
|
+
|
|
3
|
+
Copyright © 2024 Ioan Calin B
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: bscintillaedit
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Keywords: c++,cmake,cpp,cxx,example,pyside6,python,scikit-build-core,scintilla,shiboken,shiboken6
|
|
5
|
+
Author-Email: =?utf-8?q?Ioan_C=C4=83lin?= <iborco@gmail.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
Classifier: Development Status :: 3 - Alpha
|
|
8
|
+
Classifier: Intended Audience :: Developers
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Programming Language :: C++
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Project-URL: Homepage, https://iborco-pyside.gitlab.io/bscintillaedit
|
|
13
|
+
Project-URL: Repository, https://gitlab.com/iborco-pyside/bscintillaedit
|
|
14
|
+
Project-URL: Issues, https://gitlab.com/iborco-pyside/bscintillaedit/-/issues
|
|
15
|
+
Requires-Python: >=3.12
|
|
16
|
+
Requires-Dist: shiboken6>=6.8.1
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
Dynamic: description
|
|
19
|
+
|
|
20
|
+
# Borco's Scintilla Edit
|
|
21
|
+
|
|
22
|
+
The `BScintillaEdit` is a simple text edit control derived from `QScrollArea` that embeds the `ScintillaBaseEdit` control from [Scintilla](https://www.scintilla.org/). The class is wrapped for Python with [shiboken](https://doc.qt.io/qtforpython-6/shiboken6/index.html).
|
|
23
|
+
|
|
24
|
+
## Licensing
|
|
25
|
+
|
|
26
|
+
This project uses the code from the [Scintilla](https://www.scintilla.org/) project as a submodule installed in `src/core_lib/scintilla`. All the code under `src/core_lib/scintilla` is covered by the [scintilla license](https://www.scintilla.org/License.txt), a [Historical Permission Notice and Disclaimer](https://en.wikipedia.org/wiki/Historical_Permission_Notice_and_Disclaimer) type of license.
|
|
27
|
+
|
|
28
|
+
All the other code from this project is licensed under the [MIT License](LICENSE.md).
|
|
29
|
+
|
|
30
|
+
This software is <ins>**not related**</ins> to the [QScintilla](https://www.riverbankcomputing.com/software/qscintilla/) or [PyQt](https://www.riverbankcomputing.com/software/pyqt/) projects.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
::include{file=docs/README.md}
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# MIT License
|
|
2
|
+
|
|
3
|
+
Copyright © 2024 Ioan Calin B
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Borco's Scintilla Edit
|
|
2
|
+
|
|
3
|
+
The `BScintillaEdit` is a simple text edit control derived from `QScrollArea` that embeds the `ScintillaBaseEdit` control from [Scintilla](https://www.scintilla.org/). The class is wrapped for Python with [shiboken](https://doc.qt.io/qtforpython-6/shiboken6/index.html).
|
|
4
|
+
|
|
5
|
+
## Licensing
|
|
6
|
+
|
|
7
|
+
This project uses the code from the [Scintilla](https://www.scintilla.org/) project as a submodule installed in `src/core_lib/scintilla`. All the code under `src/core_lib/scintilla` is covered by the [scintilla license](https://www.scintilla.org/License.txt), a [Historical Permission Notice and Disclaimer](https://en.wikipedia.org/wiki/Historical_Permission_Notice_and_Disclaimer) type of license.
|
|
8
|
+
|
|
9
|
+
All the other code from this project is licensed under the [MIT License](LICENSE.md).
|
|
10
|
+
|
|
11
|
+
This software is <ins>**not related**</ins> to the [QScintilla](https://www.riverbankcomputing.com/software/qscintilla/) or [PyQt](https://www.riverbankcomputing.com/software/pyqt/) projects.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# For developers
|
|
2
|
+
|
|
3
|
+
Notes for updating and maintaining this package.
|
|
4
|
+
|
|
5
|
+
## Cloning the repo
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
git clone git@gitlab.com:iborco-pyside/borco-pyside6-scintilla.git
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
git submodule update --init --recursive
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Updating (unofficial) upstream scintilla
|
|
16
|
+
|
|
17
|
+
* go to `src/core_lib/scintilla`
|
|
18
|
+
* fetch the latest tags
|
|
19
|
+
* switch to the new tag you want
|
|
20
|
+
* commit your changes
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
pushd src/core_lib/scintilla
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
git fetch --tags
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
git tag
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
git checkout rel-5-5-3
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
popd
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
git add src/core_lib/scintilla
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
git commit -m "updated scintilla to rel-5-5-3"
|
|
48
|
+
```
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
|
8
|
+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
|
|
9
|
+
</head>
|
|
10
|
+
|
|
11
|
+
<body>
|
|
12
|
+
<div id="app"></div>
|
|
13
|
+
<script>
|
|
14
|
+
window.$docsify = {
|
|
15
|
+
name: "borco-pyside6-scintilla",
|
|
16
|
+
loadSidebar: true,
|
|
17
|
+
subMaxLevel: 6,
|
|
18
|
+
loadFooter: true,
|
|
19
|
+
alias: {
|
|
20
|
+
'/.*/_sidebar.md': '/_sidebar.md',
|
|
21
|
+
},
|
|
22
|
+
count: {
|
|
23
|
+
countable: true,
|
|
24
|
+
position: "top",
|
|
25
|
+
margin: "10px",
|
|
26
|
+
float: "right",
|
|
27
|
+
fontsize: "0.9em",
|
|
28
|
+
color: "rgb(90,90,90)",
|
|
29
|
+
language: "english",
|
|
30
|
+
localization: {
|
|
31
|
+
words: "",
|
|
32
|
+
minute: ""
|
|
33
|
+
},
|
|
34
|
+
isExpected: true
|
|
35
|
+
},
|
|
36
|
+
plantuml: {
|
|
37
|
+
skin: "classic",
|
|
38
|
+
},
|
|
39
|
+
repo: "true",
|
|
40
|
+
corner: {
|
|
41
|
+
url: "https://gitlab.com/iborco-pyside/borco-pyside6-scintilla",
|
|
42
|
+
icon: "repo-logo.svg",
|
|
43
|
+
},
|
|
44
|
+
cornerExternalLinkTarget: "_self",
|
|
45
|
+
externalLinkTarget: "_self",
|
|
46
|
+
"flexible-alerts": {
|
|
47
|
+
style: "flat"
|
|
48
|
+
},
|
|
49
|
+
}
|
|
50
|
+
</script>
|
|
51
|
+
|
|
52
|
+
<!-- Docsify v4 -->
|
|
53
|
+
<!-- https://docsify.js.org/#/?id=docsify -->
|
|
54
|
+
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
|
|
55
|
+
|
|
56
|
+
<!-- Search bar -->
|
|
57
|
+
<!-- https://docsify.js.org/#/plugins?id=full-text-search -->
|
|
58
|
+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
|
|
59
|
+
|
|
60
|
+
<!-- Add word count for markdown files -->
|
|
61
|
+
<!-- https://github.com/827652549/docsify-count -->
|
|
62
|
+
<script src="//cdn.jsdelivr.net/npm/docsify-count/dist/countable.min.js"></script>
|
|
63
|
+
|
|
64
|
+
<!-- Custom footer -->
|
|
65
|
+
<!-- https://alertbox.github.io/docsify-footer/#/quick-start -->
|
|
66
|
+
<script src="//cdn.jsdelivr.net/npm/@alertbox/docsify-footer@1.0.0-0/dist/docsify-footer.min.js"></script>
|
|
67
|
+
|
|
68
|
+
<!-- Pagination (next/prev buttons) -->
|
|
69
|
+
<!-- https://github.com/imyelo/docsify-pagination -->
|
|
70
|
+
<script src="//cdn.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>
|
|
71
|
+
|
|
72
|
+
<!-- Copy button for code blocks -->
|
|
73
|
+
<!-- https://github.com/jperasmus/docsify-copy-code -->
|
|
74
|
+
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code@3.0.0"></script>
|
|
75
|
+
|
|
76
|
+
<!-- Fancy alerts -->
|
|
77
|
+
<!-- https://github.com/fzankl/docsify-plugin-flexible-alerts -->
|
|
78
|
+
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-flexible-alerts"></script>
|
|
79
|
+
|
|
80
|
+
<!-- Fancy terminal block -->
|
|
81
|
+
<!-- https://github.com/dolanmiu/docsify-terminal-block -->
|
|
82
|
+
<script src="https://cdn.jsdelivr.net/npm/docsify-terminal-block@1.0.3"></script>
|
|
83
|
+
|
|
84
|
+
<!-- PlantUML -->
|
|
85
|
+
<!-- https://github.com/imyelo/docsify-plantuml -->
|
|
86
|
+
<script src="//cdn.jsdelivr.net/npm/docsify-plantuml/dist/docsify-plantuml.min.js"></script>
|
|
87
|
+
|
|
88
|
+
<!-- Mermaid -->
|
|
89
|
+
<!-- https://github.com/Leward/mermaid-docsify -->
|
|
90
|
+
<script type="module">
|
|
91
|
+
import mermaid from "//cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs";
|
|
92
|
+
mermaid.initialize({ startOnLoad: true });
|
|
93
|
+
window.mermaid = mermaid;
|
|
94
|
+
</script>
|
|
95
|
+
<script src="//cdn.jsdelivr.net/npm/docsify-mermaid@2.0.1/dist/docsify-mermaid.js"></script>
|
|
96
|
+
|
|
97
|
+
<!-- Additional code block renderers using prism -->
|
|
98
|
+
<!-- https://prismjs.com/#supported-languages -->
|
|
99
|
+
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
|
|
100
|
+
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-batch.min.js"></script>
|
|
101
|
+
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-powershell.min.js"></script>
|
|
102
|
+
|
|
103
|
+
<!-- Corner repo icon -->
|
|
104
|
+
<!-- https://github.com/Koooooo-7/docsify-corner -->
|
|
105
|
+
<script src="//cdn.jsdelivr.net/npm/docsify-corner/dist/docsify-corner.min.js"></script>
|
|
106
|
+
</body>
|
|
107
|
+
|
|
108
|
+
</html>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
+
<svg width="100%" height="100%" viewBox="0 0 380 380" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
+
<g id="LOGO" transform="matrix(0.707107,0.707107,-0.707107,0.707107,189.991,-78.7013)">
|
|
5
|
+
<g transform="matrix(0.707107,-0.707107,0.707107,0.707107,-78.6938,189.994)">
|
|
6
|
+
<path d="M380,0L380,380L0,0L380,0Z" style="fill:rgb(66,185,131);"/>
|
|
7
|
+
</g>
|
|
8
|
+
<g transform="matrix(0.800179,0,0,0.800179,37.9653,-36.0217)">
|
|
9
|
+
<path d="M282.83,170.73L282.56,170.04L256.42,101.82C255.888,100.483 254.946,99.349 253.73,98.58C251.243,97.036 248.038,97.208 245.73,99.01C244.613,99.917 243.803,101.146 243.41,102.53L225.76,156.53L154.29,156.53L136.64,102.53C136.257,101.139 135.445,99.903 134.32,99C132.012,97.198 128.807,97.026 126.32,98.57C125.106,99.342 124.165,100.475 123.63,101.81L97.44,170L97.18,170.69C89.472,190.829 96.065,213.803 113.28,226.79L113.37,226.86L113.61,227.03L153.43,256.85L173.13,271.76L185.13,280.82C188.006,283.004 192.014,283.004 194.89,280.82L206.89,271.76L226.59,256.85L266.65,226.85L266.75,226.77C283.925,213.782 290.505,190.849 282.83,170.73Z" style="fill:white;fill-rule:nonzero;"/>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "bscintillaedit"
|
|
3
|
+
readme = "docs/README.md"
|
|
4
|
+
license = { text = "MIT License" }
|
|
5
|
+
requires-python = ">=3.12"
|
|
6
|
+
authors = [{ name = "Ioan Călin", email = "iborco@gmail.com" }]
|
|
7
|
+
classifiers = [
|
|
8
|
+
"Development Status :: 3 - Alpha",
|
|
9
|
+
"Intended Audience :: Developers",
|
|
10
|
+
"License :: OSI Approved :: MIT License",
|
|
11
|
+
"Programming Language :: C++",
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
# "Typing :: Typed",
|
|
14
|
+
]
|
|
15
|
+
keywords = [
|
|
16
|
+
"c++",
|
|
17
|
+
"cmake",
|
|
18
|
+
"cpp",
|
|
19
|
+
"cxx",
|
|
20
|
+
"example",
|
|
21
|
+
"pyside6",
|
|
22
|
+
"python",
|
|
23
|
+
"scikit-build-core",
|
|
24
|
+
"scintilla",
|
|
25
|
+
"shiboken",
|
|
26
|
+
"shiboken6",
|
|
27
|
+
]
|
|
28
|
+
dependencies = ["shiboken6>=6.8.1"]
|
|
29
|
+
dynamic = ["version", "description"]
|
|
30
|
+
|
|
31
|
+
# ---------------------------------------------------------------------------
|
|
32
|
+
|
|
33
|
+
[project.urls]
|
|
34
|
+
Homepage = "https://iborco-pyside.gitlab.io/bscintillaedit"
|
|
35
|
+
# Documentation = ""
|
|
36
|
+
Repository = "https://gitlab.com/iborco-pyside/bscintillaedit"
|
|
37
|
+
Issues = "https://gitlab.com/iborco-pyside/bscintillaedit/-/issues"
|
|
38
|
+
# Changelog = ""
|
|
39
|
+
|
|
40
|
+
# ---------------------------------------------------------------------------
|
|
41
|
+
|
|
42
|
+
[dependency-groups]
|
|
43
|
+
dev = [
|
|
44
|
+
"pyside6>=6.8.1",
|
|
45
|
+
"pytest>=8.3.4",
|
|
46
|
+
"shiboken6-generator>=6.8.1",
|
|
47
|
+
"shiboken6>=6.8.1",
|
|
48
|
+
]
|
|
49
|
+
|
|
50
|
+
# ---------------------------------------------------------------------------
|
|
51
|
+
|
|
52
|
+
[build-system]
|
|
53
|
+
requires = [
|
|
54
|
+
# build system
|
|
55
|
+
"scikit-build-core",
|
|
56
|
+
# build dependencies
|
|
57
|
+
"shiboken6-generator>=6.8.1",
|
|
58
|
+
"shiboken6>=6.8.1",
|
|
59
|
+
]
|
|
60
|
+
build-backend = "scikit_build_core.build"
|
|
61
|
+
|
|
62
|
+
[tool.scikit-build-core]
|
|
63
|
+
wheel.py-api = "cp312"
|
|
64
|
+
|
|
65
|
+
[tool.scikit-build.metadata.version]
|
|
66
|
+
provider = "scikit_build_core.metadata.regex"
|
|
67
|
+
input = "src/bscintillaedit/__init__.py"
|
|
68
|
+
|
|
69
|
+
# ---------------------------------------------------------------------------
|
|
70
|
+
|
|
71
|
+
[tool.pylint.main]
|
|
72
|
+
extension-pkg-whitelist = ["PySide6", "bscintillaedit"]
|
|
73
|
+
ignore-patterns = ["^.*_ui\\.py$", "^.*_rc\\.py$"]
|
|
74
|
+
source-roots = ["src"]
|
|
75
|
+
disable = [
|
|
76
|
+
"C0114", # missing-module-docstring
|
|
77
|
+
]
|
|
78
|
+
|
|
79
|
+
[tool.pylint.format]
|
|
80
|
+
max-line-length = 120
|
|
81
|
+
|
|
82
|
+
# ---------------------------------------------------------------------------
|
|
83
|
+
|
|
84
|
+
[tool.pytest.ini_options]
|
|
85
|
+
testpaths = ["tests/python"]
|