GithubHelp home page GithubHelp logo

Possible addition of new language about exco HOT 1 CLOSED

matkuki avatar matkuki commented on July 26, 2024
Possible addition of new language

from exco.

Comments (1)

matkuki avatar matkuki commented on July 26, 2024

Hi,

I don't think the QScintilla editing component, is the right tool for this, as it is meant to be a source code editor. All editor widgets inside ExCo use the QScintilla editing component.
Things that should not be a problem:

  • Syntax Highlighting (different fonts, background/foreground color, ...)
  • A browser keeping track of book structure
  • Spell checker
  • Details pane
  • Commands to call my processing programs
    All other things concerning advanced styling of text like Syntax substitution and Command wrapping are not supported by default, so you would have to somehow implement them manually in QScintilla, which is probably not that trivial.

Another solution would be to create a new formatting component using QTextEdit with some additional processing code and then integrating it into ExCo (integration would be quite simple, the formatting component would probably be quite complex). QTextEdit supports rich text styling, which is a subset of HTML 4.0, if that is flexible enough for you:
https://doc.qt.io/qt-5/richtext-html-subset.html

But with regards to adding a new language with just the standard stuff, I would be glad to add it if you provide me with a specification (keywords, operators, special characters/words, ...) and an icon.

Regards

from exco.

Related Issues (20)

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.