Giter VIP home page Giter VIP logo

mneuroth / sciteqt Goto Github PK

View Code? Open in Web Editor NEW
72.0 7.0 7.0 9.46 MB

A port of the SciTE text editor to the Qt QML/Quick, which is optimized for touch devices.

Python 2.81% Objective-C 0.21% Objective-C++ 2.45% C++ 64.24% Shell 0.07% Batchfile 0.13% HTML 19.33% Makefile 2.22% C 7.88% PHP 0.02% Lua 0.01% Module Management System 0.01% Nim 0.01% Perl 0.11% Raku 0.17% Ruby 0.03% Tcl 0.01% Visual Basic .NET 0.01% QMake 0.28% Roff 0.01%

sciteqt's Introduction

SciteQt

SciteQt is a port of the SciTE editor to the Qt QML/Quick platform, which is optimized for touch devices.

All target platforms of the Qt framework are supported (Windows, Mac, Linux, Android, IOS and Webassembly). The application runs even in a browser via Webassembly. A Android app is also available in the Google Play Store.

This is the master branch for Qt 6. The minimum Qt version needed to compile SciteQt is Qt 6.2.4. Technical details can be found on the SciteQt project page.

For the Qt 5 implementation switch to the Qt 5 branch.

SciTEQt screenshot

Some more screenshots for different platforms are available here: Screenshot gallery, Windows, Linux, MacOS and Android

Binary releases are available via the releases of the github page of this project.

See QuickScintilla Project Page for the Qt/QML implementation of the Scintilla Editor Control.

Build status:

Linux CI Windows CI MacOS CI Webassembly CI Scite Original CI

sciteqt's People

Contributors

mneuroth avatar pvanhoof avatar

Stargazers

Peter Abbasi avatar marcus-smart avatar Stian T.  avatar ggyy avatar  avatar Pedro Lara Campos avatar  avatar Felix Wang avatar araguo avatar  avatar zhuzichu avatar Matthew McRaven avatar  avatar  avatar Sanko Robinson avatar Daniel Vinciguerra avatar Aubin Detrez avatar Andrus Lepik avatar faywong avatar Dean Stelow avatar  avatar Camilo Higuita avatar DFox avatar  avatar banwenxiaoyu avatar Bocke avatar Jeroen Vennegoor op Nijhuis avatar Harald avatar  avatar  avatar Simon Justesen avatar tianxiaofan2006 avatar  avatar Benjamin Quinn avatar shaqsnake avatar RandomPhoenix avatar  avatar fanyapeng avatar Chen Hongzhi avatar 姚文强 avatar Dario Cangialosi avatar  avatar  avatar ITVENTI avatar  avatar  avatar  avatar Artem avatar  avatar Seif avatar  avatar Rex O. Amin avatar Animesh Bulusu avatar Dammian Miller avatar Ali Rathore avatar blindchimp avatar Maksim Lin avatar Diogo Souza da Silva avatar Tim Kersey avatar fuzun avatar Caleb Albritton avatar Chee Aun avatar Viet Phan avatar Adrien Demarez avatar Waldson Patrício avatar Jeff Kingyens avatar Rick Vause avatar Ferdinand Jamitzky avatar stavros vagionitis avatar Adrian avatar  avatar Fan Yang avatar

Watchers

 avatar James Cloos avatar Scotty Franzyshen avatar  avatar al-sabr avatar  avatar  avatar

sciteqt's Issues

Sciteqt autocompletion

Hi,
I set off all autocompletion features of scite by default, but when I edit something , it writes every suggestions that appeared and is difficult to edit something. How can I do?
Thanks

running MacOS binary fails

When I right click and open to bypass the app signature requirement, the app does not open. So in terminal I ran ./sciteqt.app/Contents/MacOS/sciteqt and got the following output:

QQmlApplicationEngine failed to load component
qrc:/app.qml:2541:5: Type SupportDialog unavailable
qrc:/SupportDialog.qml:14:1: Type SupportDialogForm unavailable
qrc:/SupportDialogForm.ui.qml:10:1: module "QtQuick.Layouts" version 1.15 is not installed

Seems there is a dependency missing...do I need to install some form of Qt for this to work?

BTW I also tried windows version which installed just fine and, while the editor opened, it did not open as a window...it opened in the upper left part of the screen and did not have a window support (e.g. no window bar).

Compile on Linux fails

I am using Debian sid (with qt 5.15.5) but I am getting this errors during the compile process:

Info: creating stash file /home/mte90/Desktop/kde/SciTEQt/.qmake.stash
Reading /home/mte90/Desktop/kde/SciTEQt/scintilla/qt/ScintillaEditBase/ScintillaEditBase.pro
Reading /home/mte90/Desktop/kde/SciTEQt/scite/qt/qt.pro
cd scintilla/qt/ScintillaEditBase/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/mte90/Desktop/kde/SciTEQt/scintilla/qt/ScintillaEditBase/ScintillaEditBase.pro ) && make -f Makefile 
make[1]: ingresso nella directory «/home/mte90/Desktop/kde/SciTEQt/scintilla/qt/ScintillaEditBase»
g++ -c -pipe -O2 -fPIC -std=gnu++1z -Wall -Wextra -D_REENTRANT -DSCINTILLA_QT_QML=1 -DMAKING_LIBRARY=1 -DSCI_LEXER=1 -D_CRT_SECURE_NO_DEPRECATE=1 -DNDEBUG=1 -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../include -I../../src -I../../lexlib -I../../lexilla/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o PlatQt.o PlatQt.cpp
PlatQt.cpp: In member function ‘Scintilla::PRectangle Scintilla::Window::GetMonitorRect(Scintilla::Point)’:
PlatQt.cpp:851:83: warning: ‘const QRect QDesktopWidget::availableGeometry(const QPoint&) const’ is deprecated: Use QGuiApplication::screenAt() [-Wdeprecated-declarations]
  851 |  QRect rectScreen = desktop->availableGeometry(QPoint(posGlobal.x(),posGlobal.y()));
      |                                                                                   ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDesktopWidget:1,
                 from PlatQt.cpp:42:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdesktopwidget.h:89:68: note: declared here
   89 |     QT_DEPRECATED_X("Use QGuiApplication::screenAt()") const QRect availableGeometry(const QPoint &point) const
      |                                                                    ^~~~~~~~~~~~~~~~~
g++ -c -pipe -O2 -fPIC -std=gnu++1z -Wall -Wextra -D_REENTRANT -DSCINTILLA_QT_QML=1 -DMAKING_LIBRARY=1 -DSCI_LEXER=1 -D_CRT_SECURE_NO_DEPRECATE=1 -DNDEBUG=1 -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../include -I../../src -I../../lexlib -I../../lexilla/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o ScintillaQt.o ScintillaQt.cpp
ScintillaQt.cpp: In member function ‘void Scintilla::ScintillaQt::selectCurrentWord()’:
ScintillaQt.cpp:74:26: error: ‘iswalnum’ was not declared in this scope; did you mean ‘isalnum’?
   74 |     while(startPos>=0 && iswalnum(pdoc->CharAt(startPos)))
      |                          ^~~~~~~~
      |                          isalnum
ScintillaQt.cpp:80:25: error: ‘iswalnum’ was not declared in this scope; did you mean ‘isalnum’?
   80 |     while(endPos<max && iswalnum(pdoc->CharAt(endPos)))
      |                         ^~~~~~~~
      |                         isalnum
make[1]: *** [Makefile:1220: ScintillaQt.o] Errore 1
make[1]: uscita dalla directory «/home/mte90/Desktop/kde/SciTEQt/scintilla/qt/ScintillaEditBase»
make: *** [Makefile:48: sub-scintilla-qt-ScintillaEditBase-make_first] Errore 2

Maybe Qt is not the only dependence required as now?

How about a copr build of scte-qt

I was hoping to create for my machine, notepad uniformity in a dual boot linux/windows system, so as to have identical app-name as well as touch/feel.
I noticed that the notepad-clone alternatives are fragmented as leafpad/featherpad/notepad++/notepadqq etc
There does not seem to be a cross-platform solution.
scite-qt seems to be buildable cross-platform.

Copr is a fedora private repository system for packages not part of regular distribution. It has lesser packaging requirements than for the official regular distribution. Copr allows users to use the "dnf install" mechanism for install/uninstall. While it is possible to download/compile/make-install, it is desirable to rely on the repo installers.

There seem to have been some older attempts at making a copr build of scite-gtk
https://copr.fedorainfracloud.org/coprs/bhuztez/scite/
https://copr.fedorainfracloud.org/coprs/area7/scite/

Do make a scite-qt package on copr.
Perhaps there is something similar for other linux distributions.

Misc/References

Latest Windows release hangs

Hi,

Great project 👍
I tried the latest release (all three .exe installers) and when SciteQt window opens, it's blank, hangs, and uses one CPU core to the max.
I'm on Windows 10 x64.

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.