# Support python text highlighting in Text module

**URL:** https://discourse.slicer.org/t/support-python-text-highlighting-in-text-module/34511
**Category:** Feature requests
**Tags:** python
**Created:** [February 24, 2024, 12:41am UTC](https://discourse.slicer.org/t/support-python-text-highlighting-in-text-module/34511 "2024-02-24T00:41:07Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [February 24, 2024, 12:41am UTC](https://discourse.slicer.org/t/support-python-text-highlighting-in-text-module/34511/1 "2024-02-24T00:41:07Z")

</div>

As discussed in this thread, it would be nice to have a simple text editor that supports code highlight and indentation that can be routed directly into the python console for interactive python scripts.

Would be a valuable tool for novices starting to learn Slicer API and python programming and test samples from Script repository.

> [@Directly interacting with python console](https://discourse.slicer.org/t/directly-interacting-with-python-console/34455/9):
>
> THis is interesting, I will give it a try. Meanwhile, what I was thinking is that we already have a Texts module in Slicer. Would it be possible it to support code highlighting and indentations and have route the code the python console?

---

_[View the full topic](https://discourse.slicer.org/t/support-python-text-highlighting-in-text-module/34511)._
