diff options
author | andvar <andvar@pkgsrc.org> | 2022-10-17 16:50:03 +0000 |
---|---|---|
committer | andvar <andvar@pkgsrc.org> | 2022-10-17 16:50:03 +0000 |
commit | 05fe5556ba920ee01d2c3137f56bc1282a357e5e (patch) | |
tree | e1275c8e3de9d7c69c4e1fa189245fe9e21bf559 /editors | |
parent | e8e71b563222cc264c46c6e39c295aadaa34f873 (diff) | |
download | pkgsrc-05fe5556ba920ee01d2c3137f56bc1282a357e5e.tar.gz |
codelite: update to 16.0. Thanks Thomas Klausner for reviewing the patch.
bug fixes
Fixed: externally modified files are not reloaded
Remove redundant file system scan
Fixed: always pass RootURI when sending Initialize request to the LSP server, even if the user did not provide one
Fixed: JSON encoding issue
Fixed: codelite-terminal does not apply environment variables when generating compile_flags.txt file required by clangd
Fixed: Linux: Move tab right / left with the keyboard does not work
Fixed: file system workspace: in some cases, system scan is not working as intended and only scans the top level
Fixed: code formatter regression which caused CodeLite to override the user's settings
Fixed: GTK: right click on tab causes a weird behavior of selecting random file
Fixed: Implement All Un-Implemented Functions not working when header and source are not placed in the same directory
Fixed: wxCrafter: "Insert into new Sizer" should not be visible for wxAuiManager (by rlbxku1r)
Fixed: CodeLite Makefile Generator - UNIX: Windows resource files are not compiled
fixed: Word completion is broken if a word contains letters with diacritics
Fixed: "Closed other tabs" -> send "close event" for every closed tab
fixed: PHP workspace: allow user to include the workspace or project folder when selecting `Find In Folder` from the context menu
fixed: PHP workspace: make it multiple selection
Fixed: make sure that the editor folder exists before writing
Fixed: C++ workspace: post/pre build events: ignore empty commands
Fixed: Feature request: include file extensions for Drupal projects https://github.com/eranif/codelite/issues/2704
Fixed: Fix Output View multi-byte text handling (rlbxku1r)
Fixed: PHP settings: post parse-workspace event only when a PHP workspace is opened
Fixed: spell checker: when calling "Check" on a file, do not uncheck the option of the 'continuous checking'
Changes
Fixed: be more tolerant for language server implementations that do not implement the protocol as is (e.g. rust)
Added Rust syntax highlight
LSP: support completion item's doc implemented inside MarkupContent
Added new Rust plugin
Git Commit List dialog: layout changes. Make the diff window occupy half of the dialog
Windows / macOS: visual updates to the notebook control
clToolBar: honour the wxTB_NODIVIDER style flag
use a more sensible colours for highligthing text in the various tree / list controls
Implemented a custom Menu Bar
Better dark mode support on windows
General performance & stability fixes
Added new Remote plugin which allows user to load a remote "File System Workspace" over SSH
Task view removed. It is now part of the Find In Files dialog
Colours and fonts dialog: updating the text selection colours is now done for all the languages supported for the currently active theme
Windows: use codelite-exec to launch program when the 'pause when execution ends' flag is checked in the project settings. This also prints the program exit code
Details can be found here: https://docs.codelite.org/release_notes/v16_0_0/
----------------------------------------------------------------------
Diffstat (limited to 'editors')
10 files changed, 131 insertions, 48 deletions
diff --git a/editors/codelite/Makefile b/editors/codelite/Makefile index f072a92f437..8b34100627e 100644 --- a/editors/codelite/Makefile +++ b/editors/codelite/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.45 2022/08/11 05:08:15 gutteridge Exp $ +# $NetBSD: Makefile,v 1.46 2022/10/17 16:50:03 andvar Exp $ -DISTNAME= codelite-15.0 -PKGREVISION= 7 +DISTNAME= codelite-16.0 +GITHUB_TAG= 16.0.0-1 CATEGORIES= editors x11 MASTER_SITES= ${MASTER_SITE_GITHUB:=eranif/} @@ -37,17 +37,18 @@ SUBST_SED.ena-netbsd+= -e 's,IS_NETBSD 0,IS_NETBSD 1,g' SUBST_CLASSES+= fix-bash SUBST_STAGE.fix-bash= pre-configure SUBST_MESSAGE.fix-bash= Fix bash path -SUBST_FILES.fix-bash+= codelite_terminal/wxTerminalCtrl.cpp +SUBST_FILES.fix-bash+= CodeLite/TerminalEmulator.cpp SUBST_FILES.fix-bash+= CodeLite/clConsoleBash.cpp SUBST_FILES.fix-bash+= CodeLite/clConsoleGnomeTerminal.cpp SUBST_FILES.fix-bash+= CodeLite/clConsoleRXVTerminal.cpp -SUBST_FILES.fix-bash+= CodeLite/TerminalEmulator.cpp SUBST_FILES.fix-bash+= CodeLite/fileutils.cpp -SUBST_FILES.fix-bash+= Docker/clDockerDriver.cpp -SUBST_FILES.fix-bash+= Plugin/clRemoteBuilder.cpp SUBST_FILES.fix-bash+= Plugin/custombuildrequest.cpp SUBST_FILES.fix-bash+= Plugin/pipedprocess.cpp SUBST_FILES.fix-bash+= Plugin/wxterminal.cpp +SUBST_FILES.fix-bash+= Remoty/RemotyWorkspace.cpp +SUBST_FILES.fix-bash+= cmake/Modules/UtilsHelper.cmake +SUBST_FILES.fix-bash+= codelite_terminal/wxTerminalCtrl.cpp +SUBST_FILES.fix-bash+= ctagsd/lib/Settings.cpp SUBST_SED.fix-bash+= -e 's,/bin/bash,${BASH},g' SUBST_CLASSES+= fix-man-path @@ -56,8 +57,10 @@ SUBST_MESSAGE.fix-man-path= Fix man path SUBST_FILES.fix-man-path= LiteEditor/CMakeLists.txt SUBST_SED.fix-man-path+= -e 's,${CL_PREFIX}/share/man,${CL_PREFIX}/${PKGMANDIR},g' +REPLACE_BASH+= docs/docs/deploy.sh REPLACE_BASH+= make-weekly REPLACE_NODEJS+= LanguageServer/codelite-lsp/codelite-lsp-helper +REPLACE_PYTHON+= Runtime/codelite-remote REPLACE_PYTHON+= codelite_open_helper.py LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/codelite @@ -74,5 +77,5 @@ BUILDLINK_TRANSFORM+= opt:-std=c++11:-std=gnu++11 # alloca .include "../../textproc/hunspell/buildlink3.mk" .include "../../textproc//uchardet/buildlink3.mk" .include "../../security/libssh/buildlink3.mk" -.include "../../x11/wxGTK30/buildlink3.mk" +.include "../../x11/wxGTK31/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/editors/codelite/PLIST b/editors/codelite/PLIST index e79d9ffd25a..86461b9c32e 100644 --- a/editors/codelite/PLIST +++ b/editors/codelite/PLIST @@ -1,17 +1,20 @@ -@comment $NetBSD: PLIST,v 1.6 2021/03/06 16:08:32 wiz Exp $ +@comment $NetBSD: PLIST,v 1.7 2022/10/17 16:50:03 andvar Exp $ bin/codelite bin/codelite-cc +bin/codelite-ctags bin/codelite-echo bin/codelite-lsp-helper bin/codelite-make +bin/codelite-remote bin/codelite-terminal bin/codelite_cppcheck bin/codelite_exec bin/codelite_fix_files -bin/codelite_indexer bin/codelite_kill_children bin/codelite_open_helper.py bin/codelite_xterm +bin/ctagsd +bin/ctagsd-tests lib/codelite/AutoSave.so lib/codelite/CMakePlugin.so lib/codelite/CodeFormatter.so @@ -29,6 +32,8 @@ lib/codelite/Outline.so lib/codelite/PHPLint.so lib/codelite/PHPRefactoring.so lib/codelite/QMakePlugin.so +lib/codelite/Remoty.so +lib/codelite/Rust.so lib/codelite/SFTP.so lib/codelite/SmartCompletion.so lib/codelite/SnipWiz.so @@ -57,14 +62,13 @@ lib/codelite/wxFormBuilder.so man/man1/codelite-make.1 man/man1/codelite.1 man/man1/codelite_fix_files.1 +man/man1/codelite_open_helper.1 share/applications/codelite.desktop share/codelite/LICENSE share/codelite/PHP.zip share/codelite/astyle.sample -share/codelite/clang-tools.tgz share/codelite/codelite-bitmaps-dark.zip share/codelite/codelite-bitmaps-light.zip -share/codelite/config/accelerators.conf.default share/codelite/config/build_settings.xml.default share/codelite/config/cfg/avr.cfg share/codelite/config/cfg/bsd.cfg @@ -96,7 +100,10 @@ share/codelite/gdb_printers/libstdcxx/__init__.py share/codelite/gdb_printers/libstdcxx/v6/__init__.py share/codelite/gdb_printers/libstdcxx/v6/printers.py share/codelite/gdb_printers/libstdcxx/v6/xmethods.py -share/codelite/gdb_printers/qt4.py +share/codelite/gdb_printers/rustlib/etc/gdb_load_rust_pretty_printers.py +share/codelite/gdb_printers/rustlib/etc/gdb_lookup.py +share/codelite/gdb_printers/rustlib/etc/gdb_providers.py +share/codelite/gdb_printers/rustlib/etc/rust_types.py share/codelite/gdb_printers/wx.py share/codelite/images/common_tasks.png share/codelite/images/help_earth.png @@ -106,7 +113,6 @@ share/codelite/images/recent_files.png share/codelite/images/recent_workspaces.png share/codelite/images/splashscreen.png share/codelite/images/splashscreen@2x.png -share/codelite/jsctags.zip share/codelite/lexers/lexers.json share/codelite/php.sample share/codelite/phprefactor.phar @@ -255,23 +261,23 @@ share/codelite/templates/projects/executable-wx-xrc/icon.png share/codelite/templates/projects/executable-wx-xrc/main.cpp share/codelite/templates/projects/executable-wx-xrc/main.h share/codelite/templates/projects/executable-wxcrafter-dialog/MainDialog.cpp -share/codelite/templates/projects/executable-wxcrafter-dialog/MainDialog.h +share/codelite/templates/projects/executable-wxcrafter-dialog/MainDialog.hpp share/codelite/templates/projects/executable-wxcrafter-dialog/icon.png share/codelite/templates/projects/executable-wxcrafter-dialog/main.cpp share/codelite/templates/projects/executable-wxcrafter-dialog/win_resources.rc share/codelite/templates/projects/executable-wxcrafter-dialog/wxCrafter_MainDialog.project share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter.cpp -share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter.h +share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter.hpp share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter.wxcp share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter_bitmaps.cpp share/codelite/templates/projects/executable-wxcrafter-frame/MainFrame.cpp -share/codelite/templates/projects/executable-wxcrafter-frame/MainFrame.h +share/codelite/templates/projects/executable-wxcrafter-frame/MainFrame.hpp share/codelite/templates/projects/executable-wxcrafter-frame/icon.png share/codelite/templates/projects/executable-wxcrafter-frame/main.cpp share/codelite/templates/projects/executable-wxcrafter-frame/win_resources.rc share/codelite/templates/projects/executable-wxcrafter-frame/wxCrafter_MainFrame.project share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter.cpp -share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter.h +share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter.hpp share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter.wxcp share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter_bitmaps.cpp share/codelite/templates/projects/executable/executable.project @@ -306,5 +312,6 @@ share/icons/hicolor/32x32@2x/apps/codelite.png share/icons/hicolor/64x64/apps/codelite.png share/icons/hicolor/64x64@2x/apps/codelite.png share/locale/cs/LC_MESSAGES/codelite.mo +share/locale/ja_JP/LC_MESSAGES/codelite.mo share/locale/ru_RU/LC_MESSAGES/codelite.mo share/locale/zh_CN/LC_MESSAGES/codelite.mo diff --git a/editors/codelite/distinfo b/editors/codelite/distinfo index b2ec57d414b..fd087f371db 100644 --- a/editors/codelite/distinfo +++ b/editors/codelite/distinfo @@ -1,9 +1,13 @@ -$NetBSD: distinfo,v 1.11 2021/10/26 10:21:25 nia Exp $ +$NetBSD: distinfo,v 1.12 2022/10/17 16:50:03 andvar Exp $ -BLAKE2s (codelite-15.0.tar.gz) = f733026f59670dad4949d55186594c5f7d300b79e90e10fc5b8782467872b5ba -SHA512 (codelite-15.0.tar.gz) = fd5777cdb57d184407cff4503d255b4bcdf14041420ff9daf7043f710c159d6bdb47d467e92948f96ce4eb15eef40b782feec7195f5f66845f3c82d911b3f0b8 -Size (codelite-15.0.tar.gz) = 104970727 bytes -SHA1 (patch-CodeLite_fileextmanager.cpp) = 1eaf696d3bde907a635d767b3d022e1d92692087 -SHA1 (patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp) = bdbcf78c6198da9ceb123373fd6b99419ae94896 +BLAKE2s (codelite-16.0.tar.gz) = 9f1d0335b0d7571e2aa2add64996a70141571ab8ae67fd360f3db9bfa9f6a3cf +SHA512 (codelite-16.0.tar.gz) = 4965207a11869bb5f5ec33538bdc2a7312f8d444c615cf7e5a653a26abe2e823bd35a07d1bce73812935025e9a2dc3d6b970e02c7eb2da75f3a22c14d7670af7 +Size (codelite-16.0.tar.gz) = 89755705 bytes +SHA1 (patch-CodeLite_tags_storage_sqlite3.h) = 5de0ea959cbdcec260f4d7e8ad55a59ec65b83aa +SHA1 (patch-LanguageServer_LanguageServerLogView.h) = e098709cd6e6cf76a5416b1b8e93f60a6b636bd6 +SHA1 (patch-Plugin_DiffSideBySidePanel.h) = bfc07ea848244a2d2295f10816da4f37edc1e2e4 +SHA1 (patch-ctagsd_CMakeLists.txt) = 2f86721027013407fd662b4f5b3df3f47ad5c5c7 +SHA1 (patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp) = 20b605046b94de06a8491a282ec8788bea7a50c7 SHA1 (patch-svgs_svgs-dark_create-logo.sh) = d794ca7bb16a248a7aead3ca30e6c9f16073e1a3 SHA1 (patch-svgs_svgs-light_create-logo.sh) = 4b0d06911baf89636311cc10e7042f3a2b4f22b3 +SHA1 (patch-wxcrafter_myxh__propgrid.cpp) = 2cdf5abea02aabb187098fb08d5f9ceb1d4148f1 diff --git a/editors/codelite/patches/patch-CodeLite_fileextmanager.cpp b/editors/codelite/patches/patch-CodeLite_fileextmanager.cpp deleted file mode 100644 index eb14e5069d5..00000000000 --- a/editors/codelite/patches/patch-CodeLite_fileextmanager.cpp +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-CodeLite_fileextmanager.cpp,v 1.1 2020/03/23 11:57:13 nia Exp $ - -Add NetBSD specific matchers - ---- CodeLite/fileextmanager.cpp.orig 2020-03-07 01:58:26.515745479 +0200 -+++ CodeLite/fileextmanager.cpp -@@ -171,13 +171,15 @@ -
- // Initialize regexes:
- m_matchers.push_back(Matcher("#[ \t]*![ \t]*/bin/bash", TypeScript));
-- m_matchers.push_back(Matcher("#[ \t]*![ \t]*/bin/bash", TypeScript));
-+ m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/pkg/bin/bash", TypeScript));
- m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/bin/sh", TypeScript));
- m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/bin/bash", TypeScript));
- m_matchers.push_back(Matcher("#[ \t]*![ \t]*/bin/python", TypePython));
- m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/bin/python", TypePython));
-+ m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/pkg/bin/python[2-3][.][0-9]+", TypePython));
- m_matchers.push_back(Matcher("#[ \t]*![ \t]*/bin/node", TypeJS));
- m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/bin/node", TypeJS));
-+ m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/pkg/bin/node", TypeJS));
- m_matchers.push_back(Matcher("#[ \t]*![ \t]*/bin/nodejs", TypeJS));
- m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/bin/nodejs", TypeJS));
- m_matchers.push_back(Matcher("<?xml", TypeXml, false));
diff --git a/editors/codelite/patches/patch-CodeLite_tags_storage_sqlite3.h b/editors/codelite/patches/patch-CodeLite_tags_storage_sqlite3.h new file mode 100644 index 00000000000..f16102a5298 --- /dev/null +++ b/editors/codelite/patches/patch-CodeLite_tags_storage_sqlite3.h @@ -0,0 +1,23 @@ +$NetBSD: patch-CodeLite_tags_storage_sqlite3.h,v 1.1 2022/10/17 16:50:03 andvar Exp $ + +Reorder <wx/filename.h> to fix the build in NetBSD. + +--- CodeLite/tags_storage_sqlite3.h 2022-05-03 22:38:34.770034020 +0300 ++++ CodeLite/tags_storage_sqlite3.h +@@ -25,6 +25,8 @@ + #ifndef CODELITE_TAGS_DATABASE_H + #define CODELITE_TAGS_DATABASE_H + ++#include <wx/filename.h> ++ + #include "codelite_exports.h" + #include "entry.h" + #include "fileentry.h" +@@ -33,7 +35,6 @@ + #include "wxStringHash.h" + + #include <unordered_map> +-#include <wx/filename.h> + #include <wx/wxsqlite3.h> + + /** diff --git a/editors/codelite/patches/patch-LanguageServer_LanguageServerLogView.h b/editors/codelite/patches/patch-LanguageServer_LanguageServerLogView.h new file mode 100644 index 00000000000..eeee18850d8 --- /dev/null +++ b/editors/codelite/patches/patch-LanguageServer_LanguageServerLogView.h @@ -0,0 +1,13 @@ +$NetBSD: patch-LanguageServer_LanguageServerLogView.h,v 1.1 2022/10/17 16:50:03 andvar Exp $ + +Reorder <wx/menu.h> to fix build in NetBSD. + +--- LanguageServer/LanguageServerLogView.h 2022-05-02 22:26:31.620093956 +0300 ++++ LanguageServer/LanguageServerLogView.h +@@ -1,5 +1,6 @@ + #ifndef LANGUAGESERVERLOGVIEW_H + #define LANGUAGESERVERLOGVIEW_H ++#include <wx/menu.h> + #include "UI.h" + + class LanguageServerLogView : public LanguageServerLogViewBase diff --git a/editors/codelite/patches/patch-Plugin_DiffSideBySidePanel.h b/editors/codelite/patches/patch-Plugin_DiffSideBySidePanel.h new file mode 100644 index 00000000000..b7c51d8e307 --- /dev/null +++ b/editors/codelite/patches/patch-Plugin_DiffSideBySidePanel.h @@ -0,0 +1,23 @@ +$NetBSD: patch-Plugin_DiffSideBySidePanel.h,v 1.1 2022/10/17 16:50:03 andvar Exp $ + +Reorder <wx/filename.h> to fix build in NetBSD. + +--- Plugin/DiffSideBySidePanel.h.orig 2022-04-18 08:09:00.000000000 +0300 ++++ Plugin/DiffSideBySidePanel.h +@@ -26,13 +26,15 @@ + #ifndef DIFFSIDEBYSIDEPANEL_H + #define DIFFSIDEBYSIDEPANEL_H + ++#include <wx/filename.h> ++ ++#include "wxcrafter_plugin.h" + #include "DiffConfig.h" + #include "clDTL.h" + #include "clPluginsFindBar.h" + #include "wxcrafter_plugin.h" + + #include <vector> +-#include <wx/filename.h> + + class clToolBar; + class WXDLLIMPEXP_SDK DiffSideBySidePanel : public DiffSideBySidePanelBase diff --git a/editors/codelite/patches/patch-ctagsd_CMakeLists.txt b/editors/codelite/patches/patch-ctagsd_CMakeLists.txt new file mode 100644 index 00000000000..21e93746b5b --- /dev/null +++ b/editors/codelite/patches/patch-ctagsd_CMakeLists.txt @@ -0,0 +1,16 @@ +$NetBSD: patch-ctagsd_CMakeLists.txt,v 1.1 2022/10/17 16:50:03 andvar Exp $ + +Portability patch, not all systems have libdl. + +--- ctagsd/CMakeLists.txt.orig ++++ ctagsd/CMakeLists.txt 2022-10-15 19:55:44.830876033 +0300 +@@ -42,7 +42,8 @@ include_directories("${CL_SRC_ROOT}/Plug + + set(UTIL_LIB "") + if(UNIX) +- set(UTIL_LIB "-lutil -ldl") ++ set(UTIL_LIB "-lutil") ++ list(APPEND UTIL_LIB ${CMAKE_DL_LIBS}) + endif(UNIX) + + FILE(GLOB LIBSRC "lib/*.cpp") diff --git a/editors/codelite/patches/patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp b/editors/codelite/patches/patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp index 8ec77a91d9c..b787b820b7b 100644 --- a/editors/codelite/patches/patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp +++ b/editors/codelite/patches/patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp @@ -1,4 +1,6 @@ -$NetBSD: patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp,v 1.1 2020/03/26 21:53:07 joerg Exp $ +$NetBSD: patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp,v 1.2 2022/10/17 16:50:03 andvar Exp $ + +Deal with kqueue changes in NetBSD. --- sdk/asio-1.12.1/asio/detail/impl/kqueue_reactor.ipp.orig 2020-03-26 12:10:17.919075389 +0000 +++ sdk/asio-1.12.1/asio/detail/impl/kqueue_reactor.ipp diff --git a/editors/codelite/patches/patch-wxcrafter_myxh__propgrid.cpp b/editors/codelite/patches/patch-wxcrafter_myxh__propgrid.cpp new file mode 100644 index 00000000000..85219b692af --- /dev/null +++ b/editors/codelite/patches/patch-wxcrafter_myxh__propgrid.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-wxcrafter_myxh__propgrid.cpp,v 1.1 2022/10/17 16:50:04 andvar Exp $ + +Fix from upstream: SetSplitterLeft was internal function in wxWidgets and became protected. + +--- wxcrafter/myxh_propgrid.cpp.orig 2022-04-18 08:09:00.000000000 +0300 ++++ wxcrafter/myxh_propgrid.cpp +@@ -48,7 +48,7 @@ wxObject* MyWxPropGridXmlHandler::DoCrea + + // add the splitter property after the children were added + int splitterLeft = GetBool("splitterleft"); +- if(splitterLeft) { m_pgmgr->GetPage(0)->SetSplitterLeft(); } ++ if(splitterLeft) { m_pgmgr->SetSplitterLeft(); } + + int splitterPos = GetLong("splitterpos", wxNOT_FOUND); + if(splitterPos != wxNOT_FOUND) { m_pgmgr->GetPage(0)->SetSplitterPosition(splitterPos); } |