Text EditorProject
ActivePublic

Properties

Description

Text editor built into Blender.

Recent Activity

Mon, May 22

Bastien Montagne (mont29) closed T50986: Changing settings in Add Object Settings Pane reverts latest text edits as "Archived".

This is our infamous undo design limitation biting us again, Text editor has own undo for most of text editing, which does not affect global undo, and is ignored by it, so redoing 'global undo' operator reset states to previous 'global undo' point and wipes out all text editing done in-between.

Mon, May 22, 10:19 PM · Text Editor, BF Blender
Dalai Felinto (dfelinto) triaged T50986: Changing settings in Add Object Settings Pane reverts latest text edits as "Confirmed" priority.

Confirmed. In fact it happens for any operator in the viewport in object mode. Another way of reproducing this is:

  1. Write some text
  2. Do some operation (e.g., Duplicate Object)
  3. Ctrl+Z
Mon, May 22, 2:40 PM · Text Editor, BF Blender

Mar 24 2017

ronan ducluzeau (zeauro) added a comment to T50986: Changing settings in Add Object Settings Pane reverts latest text edits.

I confirm the problem on ubuntu 16.04 64bits

Mar 24 2017, 12:44 PM · Text Editor, BF Blender

Mar 18 2017

Ziggy Spooner (dudecon) edited the description of T50986: Changing settings in Add Object Settings Pane reverts latest text edits.
Mar 18 2017, 10:20 PM · Text Editor, BF Blender
Ziggy Spooner (dudecon) edited the description of T50986: Changing settings in Add Object Settings Pane reverts latest text edits.
Mar 18 2017, 10:18 PM · Text Editor, BF Blender

Mar 17 2017

Ziggy Spooner (dudecon) created T50986: Changing settings in Add Object Settings Pane reverts latest text edits.
Mar 17 2017, 7:54 PM · Text Editor, BF Blender

Feb 11 2017

umar haruna abdullahi (pyc0d3r) added a watcher for Text Editor: umar haruna abdullahi (pyc0d3r).
Feb 11 2017, 12:47 PM

Oct 25 2016

Vilem Novak (pildanovak) added a comment to T49800: difining an operator as text.myoperator doesn't enable setting shortcut from context menu..

the addon we are talking about is called Macro.

Oct 25 2016, 2:30 AM · Python, Text Editor, BF Blender

Oct 20 2016

Sergey Sharybin (sergey) closed T49800: difining an operator as text.myoperator doesn't enable setting shortcut from context menu. as "Archived".

Thanks for the report, but it is not really a bug, but a specific behavior of how keymap matching currently works.

Oct 20 2016, 2:09 PM · Python, Text Editor, BF Blender
Vilem Novak (pildanovak) created T49800: difining an operator as text.myoperator doesn't enable setting shortcut from context menu..
Oct 20 2016, 1:27 PM · Python, Text Editor, BF Blender

Sep 4 2016

Aaron Carlisle (Blendify) added a reviewer for D1495: Multi-Cursor Text Editing: Julian Eisel (Severin).
Sep 4 2016, 8:14 PM · Text Editor
Aaron Carlisle (Blendify) added a reviewer for D1495: Multi-Cursor Text Editing: Bastien Montagne (mont29).
Sep 4 2016, 8:13 PM · Text Editor

Aug 11 2016

Campbell Barton (campbellbarton) removed a reviewer for D1495: Multi-Cursor Text Editing: Campbell Barton (campbellbarton).
Aug 11 2016, 6:08 AM · Text Editor

Mar 16 2016

Alexey (Inwader77) created T47824: Backgroung job crash.
Mar 16 2016, 5:14 PM · BF Blender, Python
Campbell Barton (campbellbarton) added a comment to T47799: Comment Uncomment shortkeys.

Yep, not real high priority.

Mar 16 2016, 2:01 AM · BF Blender, Text Editor

Mar 15 2016

Julian Eisel (Severin) changed Type from Bug to To Do on T47799: Comment Uncomment shortkeys.
Mar 15 2016, 10:28 PM · BF Blender, Text Editor
Julian Eisel (Severin) added a comment to T47799: Comment Uncomment shortkeys.

Noticed comment toggling is pretty much useless as it is (doesn't work in common cases, unusual shortcuts, missing shortcuts - as reported here, ...). So decided to improve this a bit, starting with rB0f6f1908c586c. Will do further work in temp_textedit_comment_toggling branch (probably not this week though since I'd like to focus on other stuff as long as I'm in the institute).
Meanwhile, we will handle this as ToDo.

Mar 15 2016, 10:28 PM · BF Blender, Text Editor
Aaron Carlisle (Blendify) added a project to T47799: Comment Uncomment shortkeys: BF Blender.
Mar 15 2016, 1:44 PM · BF Blender, Text Editor
Sergey Sharybin (sergey) assigned T47799: Comment Uncomment shortkeys to Julian Eisel (Severin).
Mar 15 2016, 10:06 AM · BF Blender, Text Editor
Sergey Sharybin (sergey) triaged T47799: Comment Uncomment shortkeys as "Normal" priority.
Mar 15 2016, 10:06 AM · BF Blender, Text Editor
Sergey Sharybin (sergey) updated subscribers of T47799: Comment Uncomment shortkeys.

@Julian Eisel (Severin), something liek this could work:

Mar 15 2016, 10:05 AM · BF Blender, Text Editor
Frode Lindeijer (Modanung) created T47799: Comment Uncomment shortkeys.
Mar 15 2016, 9:59 AM · BF Blender, Text Editor

Jan 9 2016

Campbell Barton (campbellbarton) abandoned D1716: Add wrap-around scroll to suggested auto complete in the Text Editor.
Jan 9 2016, 12:12 AM · Text Editor, User Interface
Campbell Barton (campbellbarton) commandeered D1716: Add wrap-around scroll to suggested auto complete in the Text Editor.

Committed rBf39aa170586e2d713488ad81eaec46893db0f0fe

Jan 9 2016, 12:12 AM · Text Editor, User Interface

Jan 8 2016

Julian Eisel (Severin) added projects to D1716: Add wrap-around scroll to suggested auto complete in the Text Editor: User Interface, Text Editor.
Jan 8 2016, 11:40 PM · Text Editor, User Interface

Dec 1 2015

Diego Gangl (januz) updated subscribers of D1495: Multi-Cursor Text Editing.
Dec 1 2015, 1:31 PM · Text Editor

Nov 6 2015

christian brinkmann (poor) updated subscribers of D1495: Multi-Cursor Text Editing.
Nov 6 2015, 11:08 AM · Text Editor

Oct 25 2015

Marcelo Mutzbauer (1xundoredo) updated the diff for D1495: Multi-Cursor Text Editing.
  • Call txt_merge_sels in delete operator
  • Code-Style:
    • rename text->n_sels to text->nsels
    • post-increment in for loop
Oct 25 2015, 3:54 PM · Text Editor

Oct 21 2015

Marcelo Mutzbauer (1xundoredo) updated the diff for D1495: Multi-Cursor Text Editing.
  • Update for latest master
  • Fix crash when reading in old files containing Texts
  • Fix crash when reading in new files created with patched build
  • Minor cleanup
Oct 21 2015, 2:23 PM · Text Editor

Oct 20 2015

Campbell Barton (campbellbarton) added a comment to D1495: Multi-Cursor Text Editing.

Where would communication take place(In this differential? Somewhere else?)

Oct 20 2015, 6:11 AM · Text Editor

Oct 19 2015

Marcelo Mutzbauer (1xundoredo) updated the diff for D1495: Multi-Cursor Text Editing.
  • Patch can be applied to latest master again
Oct 19 2015, 6:11 PM · Text Editor

Oct 1 2015

Bastien Montagne (mont29) closed T46340: Auto scrolling in text editor with upward selection not work as "Resolved" by committing rB066df84f730d: Fix T46340: Auto scrolling in text editor with upward selection not work..
Oct 1 2015, 3:35 PM · Text Editor, BF Blender
Bastien Montagne (mont29) claimed T46340: Auto scrolling in text editor with upward selection not work.
Oct 1 2015, 12:41 PM · Text Editor, BF Blender

Sep 28 2015

Bastien Montagne (mont29) closed T46293: text crash as "Resolved" by committing rBfc97204742d3: Fix T46293: Text Editor: Convert to spaces/to tabs was totally broken with….
Sep 28 2015, 10:07 AM · Text Editor

Sep 27 2015

Bastien Montagne (mont29) triaged T46293: text crash as "Confirmed" priority.
Sep 27 2015, 8:54 PM · Text Editor
Bastien Montagne (mont29) claimed T46293: text crash.

Yuck! that piece of code is totally ignoring non-ASCII UTF8 encoded chars (which take more than one byte)!

Sep 27 2015, 8:54 PM · Text Editor
Alexey (Inwader77) created T46293: text crash.
Sep 27 2015, 7:33 PM · Text Editor

Sep 8 2015

Marcelo Mutzbauer (1xundoredo) added a comment to D1495: Multi-Cursor Text Editing.

Where would communication take place(In this differential? Somewhere else?)
Should fixes unrelated to this feature(e.g. weird scrollbar behavior) be done in the branch?

Sep 8 2015, 12:42 PM · Text Editor

Sep 3 2015

Marcelo Mutzbauer (1xundoredo) updated the diff for D1495: Multi-Cursor Text Editing.
  • Forgot calling selection unification code in word selection operator
  • Cleaned up selection unification code(txt_merge_sels(text))
Sep 3 2015, 1:41 PM · Text Editor

Sep 2 2015

Campbell Barton (campbellbarton) added a comment to D1495: Multi-Cursor Text Editing.

Regarding the branch, I was suggesting this patch could be finished in a feature-branch. Which is a bit nicer then updating this patch (longer running projects. The merge with master would happen later, once the branch was reviewed and accepted.

Sep 2 2015, 1:20 PM · Text Editor
Marcelo Mutzbauer (1xundoredo) added a comment to D1495: Multi-Cursor Text Editing.

Looking at Scintilla, though I think it might be a useful thing, if the text editor is planned to be rewritten it might be a bad idea to do the thing twice. Took a look at the github repo, it seems like Scintilla is implemented in C++ and there is a wrapper to interface with the C code and do the drawing? I'm not sure about this, but making Scintilla work with Blender's DNA/RNA structure and C architecture might be more of hassle than just rewriting the entire thing from scratch. Plus, we might then have less trouble keeping everything in sync with their additions/fixes/improvements or providing more functionality on our own. I don't know. (Then again, Scintilla looks really powerful and we might not even have to do that)
When it comes to maintenance, I don't know if I'm familiar/experienced enough with Blender's codebase.
As it currently stands, the text editor is not really likely to be used by a developer. Working with file and especially directory structures is just a HUGE mess. As long as that problem is not addressed, developers probably won't consider writing their scripts in Blender itself. So functionality like this one might not really be interesting to anyone.
With the branch, does that mean that I should also make other improvements in the branch or should I be adding them after the merge?

Sep 2 2015, 12:57 PM · Text Editor
Campbell Barton (campbellbarton) added a comment to D1495: Multi-Cursor Text Editing.

Hi @Marcelo Mutzbauer (1xundoredo), how about this?

Sep 2 2015, 11:17 AM · Text Editor
Sergey Sharybin (sergey) added a comment to D1495: Multi-Cursor Text Editing.

I feel quite mixed about accepting patches to the Text Editor in Blender. Reasoning behind this is that we don't have strong maintainer in that are to help with all possible issues in it (and there are issues in there). And on another hand i don't mind if Blender's editor gets improved.

Sep 2 2015, 11:08 AM · Text Editor

Sep 1 2015

Campbell Barton (campbellbarton) added a comment to D1495: Multi-Cursor Text Editing.

It could be worth having http://www.scintilla.org integrated, its an editor engine which supports multiple drawing front-ends (and has multiple selection).

Sep 1 2015, 4:23 PM · Text Editor
Marcelo Mutzbauer (1xundoredo) updated the diff for D1495: Multi-Cursor Text Editing.
  • Fix cursor column updating when deleting text
Sep 1 2015, 3:40 PM · Text Editor
Marcelo Mutzbauer (1xundoredo) added a comment to D1495: Multi-Cursor Text Editing.

Okay, fixed it(problem with cursor column updating). Will update patch soon.
As for maintenance, I do agree that supporting this is a bit overkill and time is much better spent in other areas. Not sure how to proceed.

Sep 1 2015, 3:38 PM · Text Editor
Campbell Barton (campbellbarton) added a comment to D1495: Multi-Cursor Text Editing.

@Marcelo Mutzbauer (1xundoredo), it wasn't hard to redo, just add a lot of cursors and start removing text, they will overlap at some point. You can tell they overlap since when you start typing again - many characters are added from the one place.

Sep 1 2015, 3:04 PM · Text Editor
Marcelo Mutzbauer (1xundoredo) added a comment to D1495: Multi-Cursor Text Editing.

@Campbell Barton (campbellbarton) Sorry, can't reproduce. Maybe this only happens when the selections are in a certain position . . . Could you attach a screenshot before the crash happens?
Also, intersecting selections should be unified when the operator finishes(in txt_merge_sels(text)), so that might be a bug too(haven't discovered any problems when testing though)

Sep 1 2015, 2:03 PM · Text Editor
Campbell Barton (campbellbarton) added a comment to D1495: Multi-Cursor Text Editing.

Checked again, its much more stable now. Though its crashing for me when selections overlap (Its possible to get 2+ cursors occupying the same space when pressing Delete).

Sep 1 2015, 11:48 AM · Text Editor
Greg Zaal (gregzaal) updated subscribers of D1495: Multi-Cursor Text Editing.
Sep 1 2015, 11:04 AM · Text Editor