Giter VIP home page Giter VIP logo

text's Introduction

Liri Text

License GitHub release GitHub issues Snap Status CI

Liri Text is a cross-platform text editor made in accordance with Material Design.

Screenshot

Dependencies

Qt >= 6.6 with at least the following modules is required:

The following modules and their dependencies are required:

Installation

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/prefix ..
make
make install # use sudo if necessary

Replace /path/to/prefix to your installation prefix. Default is /usr/local.

Credits

Many thanks to ...

  • Corbin Crutchley for creating the application icon
  • Everyone who contributed to the project directly via Git, listed in AUTHORS.md

License

This application 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.

text's People

Contributors

aldrog avatar har9862 avatar liri-ci avatar plfiorini avatar timsueberkrueb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

text's Issues

Find & replace

Probably make it a dropdown from simple search with a quick shortcut (Ctrl+Shift+F / Ctrl+H)

Standardize repository

Make AUTHORS.md and README.md consistent with other repository and add a develop branch for development.

Improve startup time

I'd expect a simple text editor like this to start instantly(<300ms).
Instead, it takes 2-3s. Would be cool to see come improvements there.

Fullscreen mode

A mode where all panels are removed, the window goes fullscreen, the background color turns to black.
Hovering the top side of the window would reveal the toolbar (need to check if makes sense within MD).

consider using xi-core

xi-core is a backend for text editors with a focus on being fast and modular i do not represent them in anyway but nonetheless I think this is a good idea for both projects

Translations installed to prefix/bin

I used the following command to build text:

qbs build --no-install -d build profile:qt5 modules.lirideployment.prefix:/usr

The translation files were put into /usr/bin:

usr/bin/
usr/bin/C.qm
usr/bin/ar.qm
usr/bin/da.qm
usr/bin/de.qm
usr/bin/es.qm
usr/bin/es_419.qm
usr/bin/fr.qm
usr/bin/it.qm
usr/bin/ja.qm
usr/bin/liri-text
usr/bin/nl.qm
usr/bin/pt_BR.qm
usr/bin/pt_PT.qm
usr/bin/ru.qm
usr/bin/zh_HK.qm

Is there an option I missed or is it a bug in the build script?

Add support for tabs

this includes opening new files in an existing window instead of creating a new one.

Installation : cmake error with LiriCMakeShared

Expected Behavior

I can execute the command cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. without error.

Current Behavior

julien@tosh1:~/dev/text-develop/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
-- The following REQUIRED packages have been found:

 * LiriCMakeShared (required version >= 1.0.0)
 * ECM (required version >= 5.48.0)

-- The following features have been disabled:

 * Coverage, Code coverage (gcc only)

CMake Error at /usr/local/share/LiriCMakeShared/modules/LiriAddExecutable.cmake:50 (add_executable):
  add_executable called with incorrect number of arguments
Call Stack (most recent call first):
  src/CMakeLists.txt:36 (liri_add_executable)


CMake Error at src/CMakeLists.txt:98 (set_target_properties):
  set_target_properties Can not find target to add properties to: LiriText


-- Configuring incomplete, errors occurred!
See also "/home/julien/dev/text-develop/build/CMakeFiles/CMakeOutput.log".

Steps to Reproduce (for bugs only)

1.I download the repo the 10 june 2020
2.I created the folder build
3.In the folder build : cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..

Environment

CMakeOutput.log

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04
Codename:	bionic

Styling

It would be convenient to use a GtkSourceView-derived format for style schemes.
Ideas to consider:

  • ease usage of material palette: either add a special palette file that styles can reference or allow #colorName values;
  • ease creation of paired light-dark themes: automatic palette conversion with possible overrides in style scheme.

Zoom

Zoom in and zoom out

Clashes on Ubuntu when saving a file

Hi. It was working fine on Manjaro OS. It clashes when I save a text file on Ubuntu 19.10.

qml: edit page completed
saved to "/home/edip/workspace/deneme/d2"
QUrl("file:///home/edip/workspace/deneme/d2") "/home/edip/workspace/deneme/d2"
Segmentation fault (core dumped)

Incorrect behavior of save-on-exit dialog

Dialog, suggesting to save file before closing it bahaves incorrectly in some cases.
Confirmed on new files, not sure about existing ones. All related code to be reviewed.

VI mode

Add VI mode to the editor.
Very low priority task for now.

Bracket matching

Also consider extending language specifications to allow language-specific bracket types.

zh_CN application name file garbled

As the title said, so I found .desktop file like this:
image
And you see, zh_CN & zh_TW translate string is garbled, idk why It would be like this...

Work around duplicated subpattern names

It's a feature of perl regexes that QRegularExpression doesn't (yet?) support.
GtkSourceView forces lang-spec writer to mark regexes using this feature with dupnames attribute, and there're actually very few regexes with this attribute set.

I see the following options to work this problem around:

  1. Specifically parse regexes with dupnames e.g. search for subpatterns with the same name name, replace them with name0, name1 etc., then replace every reference to name with references to all nameX's.
  2. When we have #21 solved, manually change regexes not to use this feature and mention Text doesn't support this feature in wiki.

Delete non-existing files from history

They should be deleted when user tries to open them (give user a choice to delete entry or not?) and probably also automatically check all entries upon app loading.

Another option is to hide entries instead of removing them which is probably more user friendly.

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.