zrax / qtextpad Goto Github PK
View Code? Open in Web Editor NEWLightweight cross-platform text editor using KF6's syntax highlighting repository.
License: GNU General Public License v3.0
Lightweight cross-platform text editor using KF6's syntax highlighting repository.
License: GNU General Public License v3.0
Feature request: When the qtextpad window becomes focused, it would be handy to notify the user if the currently open file was modified or deleted. The user could be prompted for an action to take based on the change.
"Go to line" goes to wrong lines.
Thank you for the updates.
Sometimes I have to look at XML files with a lot of very nested collections of elements, and it would be nice to be able to collapse/fold those spans for easier skimming.
would be useful; don't you think so?! For the selection, otherwise for the whole document.
But can't "make"
make: *** No rule to make target 'install'. Stop.
And here's my PKGBUILD:
pkgname=qtextpad
pkgver=0.9
pkgrel=2
pkgdesc="Lightweight Qt text editor using KF5's syntax highlighting repository."
arch=('x86_64')
url="https://github.com/zrax/qtextpad"
license=('GPL3')
depends=('qt5-base' 'syntax-highlighting')
makedepends=('cmake')
provides=('qtextpad')
conflicts=('qtextpad-git')
sha256sums=('SKIP')
build() {
rm -Rf build && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ../${pkgname}/
make
}
package() {
cd build
make DESTDIR="${pkgdir}" PREFIX="/usr" install
}
rather than the current file's directory like "Open..." dialog.
Sometimes up to 5-6 seconds. It's not related to file type; it even happens with empty new files –sometimes.
Hi.
Is it possible to add an option to change (or append) the shortcut of Redo action to Ctrl-Y (default is Ctrl-Shift-Z)?
Muscle memory kicks in too often...
If it's not a big trouble or bloat, it would be fine to see line numbers corresponding to lines having unsaved changes coloured by (for instance) qt palette bright or by kf5syntaxhighlighting .theme > editor-colors: "modified-lines" and to have bookmarks whose line numbers are coloured by (for instance) qt palette highlight or .theme > editor-colors: "mark-bookmark" to be set by double clicking on them.
Ed: Naturally, then one needs to be able to navigate between the bookmarks as well.
Well, another line number colour indicating lines containg the found search terms would be equally fine.
Would you mind providing a .desktop file as I'll try to put my PKGBUILD in AUR?
Or should I wait for your implementation of something or other?
When users install qtextpad they'll see this message in terminal:
To be able to change and customize themes you need to put them in ~/.local/share/org.kde.syntax-highlighting/themes. You can find theme in https://github.com/KDE/syntax-highlighting/tree/master/data/themes. Whereas only your custom or customized syntax definitions should be put in ~/.local/share/org.kde.syntax-highlighting/syntax.
Is that all right?
And here's my updated PKGBUILD:
pkgname=qtextpad-git
_gitname=qtextpad
pkgver() {
cd "$srcdir/${_gitname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
pkgver=0.9.r4.g329d83f
pkgrel=1
pkgdesc="Lightweight Qt text editor with KF5 (kate) syntax-highlighting –no KDE dep."
arch=('x86_64')
url="https://github.com/zrax/qtextpad"
source=("https://github.com/zrax/qtextpad.git")
license=('GPL3')
depends=('syntax-highlighting')
makedepends=('cmake' 'git')
install="$_gitname.install"
provides=('qtextpad')
conflicts=('qtextpad')
sha256sums=('SKIP')
build() {
rm -Rf build && mkdir build && cd build
cmake ../${_gitname} -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" PREFIX="/usr" install
}
This would help a lot.
Brilliant idea and necessary program; wish you didn't abandon it.
Can't save a document in any way, Save, Save As…
On another note, lots of warning about unused or deprecated things during installation (on Arch Linux).
There are no key bindings for "Save As…" and "Replace…" since (I gather) these two are the only ones without common bindings for both KDE and Gnome and I'm neither in KDE nor in Gnome.
Though, for instance, I could figure out to replace your
Line 203 in 1d3dd5f
with Qt::CTRL | Qt::Key_R
, you might consider doing similar yourself for other non-KDE or non-Gnome users.
On another note, some hidden Qt shortcuts work beautifully like Ctrl+Backspace
and Ctrl+K
etc., but not Ctrl+U
to delet a line.
Thanks for the "fancy copy/cut" convenience.
If not a big trouble to implement, it might be life saving to have an automatic backup feature. Few minutes ago the whole content of the file I've been working on since late last night has been wiped out because of a power outage. The file exists, but without any content. I backup my home twice daily, but obviously that's not a solution for such cases.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.