Page MenuHome

Text EditorProject
ActivePublic

Details

Description

This project includes the Text editor built into Blender, and is a sub-project of the Python API module.

Sub-Module Page: T68061
Developers: @Campbell Barton (campbellbarton)

Recent Activity

Fri, Jun 26

Julian Eisel (Severin) moved T75369: Text Editor: line number color used for text from Backlog to Bugs on the User Interface board.
Fri, Jun 26, 3:02 PM · Restricted Project, User Interface, Text Editor, BF Blender

Wed, Jun 24

Dalai Felinto (dfelinto) closed T68061: Text Editor Module as Resolved.
Wed, Jun 24, 10:53 AM · Text Editor, BF Blender

Mon, Jun 22

Campbell Barton (campbellbarton) closed T78114: Blender Text Editor can't reload external files as Resolved.

Added report about this particular situation rB9215b5d86921: UI: report when reloading unsaved text

Mon, Jun 22, 8:05 AM · Text Editor, BF Blender
Fahad Hasan (cgvirus) added a comment to T78114: Blender Text Editor can't reload external files.

Ow! It works after saving. I think there should be a save warning.

Mon, Jun 22, 5:42 AM · Text Editor, BF Blender
Campbell Barton (campbellbarton) changed the status of T78114: Blender Text Editor can't reload external files from Needs Triage to Needs Information from User.

Tested and reloading works here.

Mon, Jun 22, 4:26 AM · Text Editor, BF Blender

Sun, Jun 21

Fahad Hasan (cgvirus) added a project to T78114: Blender Text Editor can't reload external files: Text Editor.
Sun, Jun 21, 10:41 PM · Text Editor, BF Blender

Sat, Jun 20

Campbell Barton (campbellbarton) moved T69490: External Text Data Support from Papercuts to Long Term on the Text Editor board.
Sat, Jun 20, 4:54 AM · Restricted Project, Text Editor
Campbell Barton (campbellbarton) moved T68068: Text editor undo system, undo step limiting behavior from Papercuts to Long Term on the Text Editor board.
Sat, Jun 20, 4:54 AM · Restricted Project, Data, Assets & I/O, Text Editor, Datablocks and Libraries, BF Blender
Campbell Barton (campbellbarton) moved T71735: Text editor undo system, undo step grouping behavior from Papercuts to Long Term on the Text Editor board.
Sat, Jun 20, 4:54 AM · Restricted Project, Text Editor
Campbell Barton (campbellbarton) moved T71735: Text editor undo system, undo step grouping behavior from Backlog to Papercuts on the Text Editor board.
Sat, Jun 20, 4:46 AM · Restricted Project, Text Editor
Campbell Barton (campbellbarton) moved T75369: Text Editor: line number color used for text from Backlog to Papercuts on the Text Editor board.
Sat, Jun 20, 4:45 AM · Restricted Project, User Interface, Text Editor, BF Blender

Thu, Jun 18

Campbell Barton (campbellbarton) updated the task description for T55366: Blender development todo list -- Editors.
Thu, Jun 18, 3:28 PM · BF Blender, Animation & Rigging, Video Sequencer, User Interface, Documentation
Campbell Barton (campbellbarton) moved T69490: External Text Data Support from Backlog to Papercuts on the Text Editor board.
Thu, Jun 18, 3:26 PM · Restricted Project, Text Editor
Campbell Barton (campbellbarton) moved T68068: Text editor undo system, undo step limiting behavior from Long Term to Papercuts on the Text Editor board.
Thu, Jun 18, 3:26 PM · Restricted Project, Data, Assets & I/O, Text Editor, Datablocks and Libraries, BF Blender
Campbell Barton (campbellbarton) moved T68068: Text editor undo system, undo step limiting behavior from Papercuts to Long Term on the Text Editor board.
Thu, Jun 18, 3:26 PM · Restricted Project, Data, Assets & I/O, Text Editor, Datablocks and Libraries, BF Blender
Campbell Barton (campbellbarton) moved T68068: Text editor undo system, undo step limiting behavior from Long Term to Papercuts on the Text Editor board.
Thu, Jun 18, 3:26 PM · Restricted Project, Data, Assets & I/O, Text Editor, Datablocks and Libraries, BF Blender
StrictlyIncreasing (StrictlyIncreasing) added a comment to T68068: Text editor undo system, undo step limiting behavior.

Somewhat unrelated but if you go ahead with this maybe you could also create a local undo stack for the knife tool as well, that only stays in memory for the duration of the operation.

Thu, Jun 18, 3:26 AM · Restricted Project, Data, Assets & I/O, Text Editor, Datablocks and Libraries, BF Blender

Thu, Jun 11

Bastien Montagne (mont29) moved T68068: Text editor undo system, undo step limiting behavior from Backlog to Long-Term on the Data, Assets & I/O board.
Thu, Jun 11, 6:04 PM · Restricted Project, Data, Assets & I/O, Text Editor, Datablocks and Libraries, BF Blender
Bastien Montagne (mont29) added a project to T68068: Text editor undo system, undo step limiting behavior: Data, Assets & I/O.
Thu, Jun 11, 5:24 PM · Restricted Project, Data, Assets & I/O, Text Editor, Datablocks and Libraries, BF Blender

Tue, Jun 9

Peter Fog (tintwotin) closed T68656: Info Editor's Replay fails (needs [modal?] ability to select area/region to execute in) as Invalid.
Tue, Jun 9, 8:34 AM · Text Editor, BF Blender

May 7 2020

-- (zgorg) added a comment to D5097: Adding 'Trim Whitespace' and 'Change Case' to Text Editor .
May 7 2020, 11:35 AM · BF Blender, Add-ons (BF-Blender), Text Editor
-- (zgorg) added a comment to T66317: Text editor API needs a 'select_end_line_index' attribute to expose selection to the user..
May 7 2020, 3:50 AM · Add-ons (BF-Blender), Text Editor

Apr 20 2020

Julian Eisel (Severin) closed T73578: Info Editor prints python errors upside down. as Resolved.

This was addressed with rBdf032580c1.

Apr 20 2020, 1:37 AM · BF Blender (2.83), Add-ons (BF-Blender), Text Editor

Apr 6 2020

Germano Cavalcante (mano-wii) changed the status of T75369: Text Editor: line number color used for text from Needs Triage to Confirmed.
Apr 6 2020, 4:15 PM · Restricted Project, User Interface, Text Editor, BF Blender
Germano Cavalcante (mano-wii) added a revision to T75369: Text Editor: line number color used for text: D7337: Fix for T75369: Text Editor Line Color.
Apr 6 2020, 4:14 PM · Restricted Project, User Interface, Text Editor, BF Blender

Apr 4 2020

Harley Acheson (harley) added a comment to T75369: Text Editor: line number color used for text.

Probable fix here: https://developer.blender.org/D7337

Apr 4 2020, 6:54 PM · Restricted Project, User Interface, Text Editor, BF Blender
Harley Acheson (harley) added a comment to T75369: Text Editor: line number color used for text.

Yes, it behaves as described if syntax highlighting is turned OFF while line numbers is ON. Although it will properly use the text color for all lines if you also turn line numbers OFF. Following shows three states of it (middle one incorrect):

Apr 4 2020, 6:11 PM · Restricted Project, User Interface, Text Editor, BF Blender
Ankit (ankitm) added projects to T75369: Text Editor: line number color used for text: Text Editor, User Interface.
Apr 4 2020, 11:54 AM · Restricted Project, User Interface, Text Editor, BF Blender

Mar 23 2020

Sebastian Parborg (zeddb) closed T75026: UI/UX issue with find/replace in scripting as Invalid.

This is not a bug report but a feature request.
IE you are requesting us to add missing functionality, not fix something that is broken.

Mar 23 2020, 12:05 PM · Text Editor, BF Blender
Ankit (ankitm) added a project to T75026: UI/UX issue with find/replace in scripting : Text Editor.
Mar 23 2020, 11:46 AM · Text Editor, BF Blender

Mar 14 2020

Peter Fog (tintwotin) added a comment to D6377: Text Editor: Python API Add read-only RNA Text.selected_text.

@Kai Jægersen (kaio) Thanks for trying.

Mar 14 2020, 10:50 PM · Add-ons (BF-Blender), Text Editor
Kai Jægersen (kaio) abandoned D6377: Text Editor: Python API Add read-only RNA Text.selected_text.

Any chance for getting this in 2.83?

Mar 14 2020, 1:46 AM · Add-ons (BF-Blender), Text Editor
Peter Fog (tintwotin) added a comment to D6377: Text Editor: Python API Add read-only RNA Text.selected_text.

Any chance for getting this in 2.83?

Mar 14 2020, 1:02 AM · Add-ons (BF-Blender), Text Editor

Mar 10 2020

Sybren A. Stüvel (sybren) moved T55366: Blender development todo list -- Editors from Backlog to TODOs on the Animation & Rigging board.
Mar 10 2020, 10:57 AM · BF Blender, Animation & Rigging, Video Sequencer, User Interface, Documentation

Mar 5 2020

Aaron Carlisle (Blendify) added projects to T55366: Blender development todo list -- Editors: User Interface, Video Sequencer, Animation & Rigging, Text Editor.
Mar 5 2020, 6:22 PM · BF Blender, Animation & Rigging, Video Sequencer, User Interface, Documentation

Feb 27 2020

Jacques Lucke (JacquesLucke) abandoned D6288: Add .fountain format to FILE_TYPE_TEXT in the File Browser.

Committed in rBaa4579c35f93ccef7090474495953727f979c698.

Feb 27 2020, 1:09 PM · Text Editor
Jacques Lucke (JacquesLucke) accepted D6288: Add .fountain format to FILE_TYPE_TEXT in the File Browser.
Feb 27 2020, 1:00 PM · Text Editor

Feb 18 2020

Dalai Felinto (dfelinto) updated the task description for T68061: Text Editor Module.
Feb 18 2020, 2:49 PM · Text Editor, BF Blender

Feb 17 2020

Kai Jægersen (kaio) added a comment to D6354: Text Editor: Fix draw offset for line highlight drawing and region_location_from_cursor.

I understand. There aren't many scripts that draw in the text editor that I know of.

Feb 17 2020, 2:09 AM · Text Editor
Campbell Barton (campbellbarton) added a comment to D6354: Text Editor: Fix draw offset for line highlight drawing and region_location_from_cursor.

@Kai Jægersen (kaio) my intention was for smooth scrolling to be temporary, so we don't need to take it into account for operator, cursor clamping etc.

Feb 17 2020, 12:17 AM · Text Editor

Feb 15 2020

Campbell Barton (campbellbarton) placed T68656: Info Editor's Replay fails (needs [modal?] ability to select area/region to execute in) up for grabs.
Feb 15 2020, 9:10 AM · Text Editor, BF Blender

Feb 11 2020

Kai Jægersen (kaio) added a comment to D6354: Text Editor: Fix draw offset for line highlight drawing and region_location_from_cursor.

Applied rB5911b6b313c7: Fix T73695: line highlight jitters with smooth scroll, with checks for scroll offset.

Also, ED_text_region_location_from_cursor intentionally doesn't use the scroll offset since scroll offset's only used while scrolling.

Feb 11 2020, 6:57 AM · Text Editor
Campbell Barton (campbellbarton) closed D6354: Text Editor: Fix draw offset for line highlight drawing and region_location_from_cursor.
Feb 11 2020, 6:38 AM · Text Editor
Campbell Barton (campbellbarton) accepted D6354: Text Editor: Fix draw offset for line highlight drawing and region_location_from_cursor.

Applied rB5911b6b313c7: Fix T73695: line highlight jitters with smooth scroll, with checks for scroll offset.

Feb 11 2020, 6:37 AM · Text Editor

Feb 10 2020

Germano Cavalcante (mano-wii) added a task to D6354: Text Editor: Fix draw offset for line highlight drawing and region_location_from_cursor: T73695: Text Editor: Line highlight doesn't use scroll offset.
Feb 10 2020, 3:30 PM · Text Editor
Campbell Barton (campbellbarton) closed D6355: Text Editor: Fix st->top receiving negative value on scroll.
Feb 10 2020, 7:39 AM · Text Editor
Campbell Barton (campbellbarton) accepted D6355: Text Editor: Fix st->top receiving negative value on scroll.

Thanks, committed rB7c54de4ab38171c2555e608c70cc02e1d08b893f

Feb 10 2020, 7:11 AM · Text Editor

Feb 9 2020

Kai Jægersen (kaio) updated the diff for D6355: Text Editor: Fix st->top receiving negative value on scroll.

Fix raw diff header.

Feb 9 2020, 9:29 PM · Text Editor

Feb 4 2020

Brecht Van Lommel (brecht) added a comment to T73578: Info Editor prints python errors upside down..

Can we not massage that python error as the report is made, so it is one entry?

Feb 4 2020, 5:16 PM · BF Blender (2.83), Add-ons (BF-Blender), Text Editor
Harley Acheson (harley) added a comment to T73578: Info Editor prints python errors upside down..

Info Editor is just dealing with each report entry, in order. This looks like seven separate reports, in the wrong order, with some that are blank. Can we not massage that python error as the report is made, so it is one entry? Otherwise not sure how we’d improve this, except for ignoring blank ones.

Feb 4 2020, 4:47 PM · BF Blender (2.83), Add-ons (BF-Blender), Text Editor