Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
python/pyside プログラムに軽量のテキスト エディタを組み込みたいと考えています。行番号の表示や構文の強調表示などの基本的なことを実行できるはずです。
そのためのモジュール/ウィジェットはありますか、それとも自分で作成する必要がありますか?
QScintilla を試してみてください。これは、Eric IDE で使用されるコンポーネントです。
http://www.riverbankcomputing.co.uk/software/qscintilla
これを自分で探しているだけです: PySide QSyntaxHighlighter