Projets

Zim plugin : Textview prefs

An extremely simple plugin to customize Zim's textview.

About

These are customizations of the zim page textview that I make each time I install Zim through a patch of the source code. But the plugin is a better form of diffusion. So here it is. To install it, just unzip the archive in ~/.local/zim/plugins/.

Without plugin

Zim without the plugin

Without plugin

Zim with the plugin

Configuration

Textview prefs 2.0.0

Text max width
Limit the width of the text for better reading.
Padding around text
Draws paddings/margins around textview (top, right, bottom, left).
Space between wrapped lines
Define space for wrapped lines. What we call « line-height » in web applications and that it is just partially rendered by the « linespacing » property of style.conf.
Background color
Text color
Colors for the text and the background of the textview.
Override distraction Free
Keep those settings when distaction free editor is active.

References

History

2.0.3
2.0.2
  • fix: remove preferences
2.0.1
  • fix: frame background
2.0.0
  • add: max-width
  • upd: rollback on destroy
  • upd: clean code
  • del: obsolete configuration
1.1.0
  • fix: 0002: don't override fullscreen preferences.
  • fix: cursor color with dark background.
1.0.0
  • add: First version.

Licence

GPL-3.0-or-later :

zim textview-prefs - Plugin for Zim Copyright (C) 2019-2024 Rui Nibau

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.