Page MenuHome

Text EditorProject
ActivePublic

Details

Description

Text editor built into Blender.

Recent Activity

Yesterday

Peter Fog (tintwotin) added a comment to D5097: Adding 'Trim Whitespaces', 'Split & Join Line' and 'Change Case' to Text Editor .

@Campbell Barton (campbellbarton) For some TE API suggestions Kaio/Iceythe writes:

Tue, Jun 25, 9:52 PM · BF Blender, Python, Text Editor

Mon, Jun 24

Peter Fog (tintwotin) updated subscribers of D5097: Adding 'Trim Whitespaces', 'Split & Join Line' and 'Change Case' to Text Editor .
Mon, Jun 24, 8:30 PM · BF Blender, Python, Text Editor
Peter Fog (tintwotin) added a comment to D5097: Adding 'Trim Whitespaces', 'Split & Join Line' and 'Change Case' to Text Editor .

So the first step is to locate bugs and shortcomings of the TE API?

Mon, Jun 24, 5:28 PM · BF Blender, Python, Text Editor
Campbell Barton (campbellbarton) added a comment to D5097: Adding 'Trim Whitespaces', 'Split & Join Line' and 'Change Case' to Text Editor .

If my memory serves me correct, working directly on the selection was not reliable, which made me use the clipboard instead.

Mon, Jun 24, 3:06 PM · BF Blender, Python, Text Editor
Peter Fog (tintwotin) added a comment to D5097: Adding 'Trim Whitespaces', 'Split & Join Line' and 'Change Case' to Text Editor .

If my memory serves me correct, working directly on the selection was not reliable, which made me use the clipboard instead.

Mon, Jun 24, 2:58 PM · BF Blender, Python, Text Editor
D5097: Adding 'Trim Whitespaces', 'Split & Join Line' and 'Change Case' to Text Editor now requires changes to proceed.

Using the clipboard for text tools is a hack which could interfear with the users workflow (they could have some rich text in the clipboard - unrelated to using Blender, which gets overwritten by using this tool).

Mon, Jun 24, 2:28 PM · BF Blender, Python, Text Editor
Peter Fog (tintwotin) updated subscribers of D5097: Adding 'Trim Whitespaces', 'Split & Join Line' and 'Change Case' to Text Editor .
Mon, Jun 24, 7:29 AM · BF Blender, Python, Text Editor

Sun, Jun 23

Peter Fog (tintwotin) added a comment to D5028: Text Editor UI updates.
Sun, Jun 23, 11:12 AM · BF Blender, Text Editor
William Reynish (billreynish) updated subscribers of D5028: Text Editor UI updates.
Sun, Jun 23, 9:08 AM · BF Blender, Text Editor
William Reynish (billreynish) edited reviewers for D5028: Text Editor UI updates, added: User Interface; removed: Peter Fog (tintwotin).

@brech Sidebar is moved to the right here. May need help with Do Version to make it apply to already existing Text Editors.

Sun, Jun 23, 1:56 AM · BF Blender, Text Editor
William Reynish (billreynish) retitled D5028: Text Editor UI updates from Convert Text Editor Sidebar to 2.80 Right-aligned style to Text Editor UI updates.
Sun, Jun 23, 1:02 AM · BF Blender, Text Editor
William Reynish (billreynish) added a comment to D5125: New context menus added to the sidebar and menu updates in the Text Editor.

Closing this, since it's just an update to D5028. Best to keep these changes together in the same differential revision.

Sun, Jun 23, 12:52 AM · Python, Text Editor
William Reynish (billreynish) updated the summary of D5028: Text Editor UI updates.
Sun, Jun 23, 12:51 AM · BF Blender, Text Editor
William Reynish (billreynish) added a comment to D5028: Text Editor UI updates.

Updates from D5125:

Sun, Jun 23, 12:46 AM · BF Blender, Text Editor

Sat, Jun 22

D5125: New context menus added to the sidebar and menu updates in the Text Editor is now accepted and ready to land.
Sat, Jun 22, 11:52 PM · Python, Text Editor
Peter Fog (tintwotin) updated the summary of D5125: New context menus added to the sidebar and menu updates in the Text Editor.
Sat, Jun 22, 11:32 PM · Python, Text Editor
Peter Fog (tintwotin) created D5125: New context menus added to the sidebar and menu updates in the Text Editor.
Sat, Jun 22, 11:28 PM · Python, Text Editor

Fri, Jun 21

Peter Fog (tintwotin) added a reviewer for D5097: Adding 'Trim Whitespaces', 'Split & Join Line' and 'Change Case' to Text Editor : Campbell Barton (campbellbarton).
Fri, Jun 21, 10:36 AM · BF Blender, Python, Text Editor

Thu, Jun 20

Peter Fog (tintwotin) added a project to D5097: Adding 'Trim Whitespaces', 'Split & Join Line' and 'Change Case' to Text Editor : BF Blender.
Thu, Jun 20, 7:43 AM · BF Blender, Python, Text Editor
Peter Fog (tintwotin) created D5097: Adding 'Trim Whitespaces', 'Split & Join Line' and 'Change Case' to Text Editor .
Thu, Jun 20, 6:55 AM · BF Blender, Python, Text Editor

Fri, Jun 14

William Reynish (billreynish) updated the summary of D5028: Text Editor UI updates.
Fri, Jun 14, 9:50 AM · BF Blender, Text Editor

Thu, Jun 13

Peter Fog (tintwotin) updated the summary of D5028: Text Editor UI updates.
Thu, Jun 13, 11:32 PM · BF Blender, Text Editor
William Reynish (billreynish) updated the diff for D5028: Text Editor UI updates.

Fix wrong diff

Thu, Jun 13, 5:57 PM · BF Blender, Text Editor
William Reynish (billreynish) updated the diff for D5028: Text Editor UI updates.

Changed layout of the Search & Replace panel:

Thu, Jun 13, 5:51 PM · BF Blender, Text Editor
William Reynish (billreynish) updated the diff for D5028: Text Editor UI updates.
  • Fix wrong greying out of the Margin toggle
Thu, Jun 13, 4:51 PM · BF Blender, Text Editor
William Reynish (billreynish) commandeered D5028: Text Editor UI updates.
Thu, Jun 13, 4:48 PM · BF Blender, Text Editor
William Reynish (billreynish) added a comment to D5028: Text Editor UI updates.

To be clear, you don’t need to change the RNA to put a checkbox on the menus.

Thu, Jun 13, 1:41 AM · BF Blender, Text Editor
Peter Fog (tintwotin) updated the diff for D5028: Text Editor UI updates.

The following Text Editor Redesign is the result of further discussion with @William Reynish (billreynish)

Thu, Jun 13, 1:01 AM · BF Blender, Text Editor

Thu, Jun 6

William Reynish (billreynish) added a comment to D5028: Text Editor UI updates.

As for the Display panel, the Live Edit and Tabs as Spaces don't fit anymore. We probably should find a new home for those. We could add them to the Edit menu instead.

Thu, Jun 6, 1:42 PM · BF Blender, Text Editor
Peter Fog (tintwotin) updated the diff for D5028: Text Editor UI updates.

Just removed "bpy." - not needed.

Thu, Jun 6, 1:41 PM · BF Blender, Text Editor
William Reynish (billreynish) added a comment to D5028: Text Editor UI updates.

For the nesting, I was thinking more like this:

Thu, Jun 6, 1:40 PM · BF Blender, Text Editor
Peter Fog (tintwotin) updated the diff for D5028: Text Editor UI updates.

Turned the toggle-buttons into checkboxes.
Renamed Properties to Display
And Show Margin will determine visibility of Show Column:

Thu, Jun 6, 1:38 PM · BF Blender, Text Editor
William Reynish (billreynish) added a comment to D5028: Text Editor UI updates.

Just set toggle=False to make the icon toggles into normal checkboxes. You don't have to change RNA.

Thu, Jun 6, 1:17 PM · BF Blender, Text Editor
Peter Fog (tintwotin) added a comment to D5028: Text Editor UI updates.

Yes, there are many things which could be improved, but on the things you mention, most of the functions are still defined in C here:
https://developer.blender.org/diffusion/B/browse/master/source/blender/makesrna/intern/rna_space.c
... and I'm not able to code C. I'm sorry.

Thu, Jun 6, 1:10 PM · BF Blender, Text Editor
William Reynish (billreynish) added a comment to D5028: Text Editor UI updates.

I would even go further:

Thu, Jun 6, 11:59 AM · BF Blender, Text Editor
Peter Fog (tintwotin) added a reviewer for D5028: Text Editor UI updates: William Reynish (billreynish).
Thu, Jun 6, 11:00 AM · BF Blender, Text Editor
Peter Fog (tintwotin) created D5028: Text Editor UI updates.
Thu, Jun 6, 10:58 AM · BF Blender, Text Editor

Apr 25 2019

Brecht Van Lommel (brecht) closed D4512: Convert indentation whitespaces to user defined spaces or tabs.
Apr 25 2019, 7:35 PM · Text Editor, BF Blender
Brecht Van Lommel (brecht) accepted D4512: Convert indentation whitespaces to user defined spaces or tabs.

I'll commit this with some tweaks for code clarity.

Apr 25 2019, 7:33 PM · Text Editor, BF Blender

Apr 17 2019

Bruno Boaventura Scholl (brunobbs) updated the diff for D4512: Convert indentation whitespaces to user defined spaces or tabs.

Updated the function comment.

Apr 17 2019, 8:07 PM · Text Editor, BF Blender
Sybren A. Stüvel (sybren) added inline comments to D4512: Convert indentation whitespaces to user defined spaces or tabs.
Apr 17 2019, 8:51 AM · Text Editor, BF Blender

Apr 3 2019

Bruno Boaventura Scholl (brunobbs) added a comment to D4512: Convert indentation whitespaces to user defined spaces or tabs.

Hi, just as a reminder of this DIff I am bumping this thread. Sorry if this is not allowed, but it has been a while since my last diff update.

Apr 3 2019, 7:43 PM · Text Editor, BF Blender

Mar 27 2019

Bruno Boaventura Scholl (brunobbs) updated the diff for D4512: Convert indentation whitespaces to user defined spaces or tabs.

That flag free_src was there in case of reuse of the function, but I think there will not be many reuses, so removing it may be better.

Mar 27 2019, 7:22 PM · Text Editor, BF Blender
Sybren A. Stüvel (sybren) added inline comments to D4512: Convert indentation whitespaces to user defined spaces or tabs.
Mar 27 2019, 11:12 AM · Text Editor, BF Blender

Mar 25 2019

Bruno Boaventura Scholl (brunobbs) updated the diff for D4512: Convert indentation whitespaces to user defined spaces or tabs.

Changed what was suggested.

Mar 25 2019, 6:44 PM · Text Editor, BF Blender
Sybren A. Stüvel (sybren) added inline comments to D4512: Convert indentation whitespaces to user defined spaces or tabs.
Mar 25 2019, 2:58 PM · Text Editor, BF Blender

Mar 20 2019

Bruno Boaventura Scholl (brunobbs) updated the diff for D4512: Convert indentation whitespaces to user defined spaces or tabs.

I have implemented the suggestions in code style and structure.
As converting from tabs could lead to unexpected behavior, I kept the text unmodified in this case.

Mar 20 2019, 10:18 PM · Text Editor, BF Blender

Mar 19 2019

Sybren A. Stüvel (sybren) added a comment to D4512: Convert indentation whitespaces to user defined spaces or tabs.

off topic: Should I post the code as I mark the comments as done, or should I wait until every comment is solved to post?

Mar 19 2019, 9:33 AM · Text Editor, BF Blender

Mar 18 2019

Bruno Boaventura Scholl (brunobbs) added a comment to D4512: Convert indentation whitespaces to user defined spaces or tabs.

off topic: Should I post the code as I mark the comments as done, or should I wait until every comment is solved to post?

Mar 18 2019, 9:56 PM · Text Editor, BF Blender
Bruno Boaventura Scholl (brunobbs) added inline comments to D4512: Convert indentation whitespaces to user defined spaces or tabs.
Mar 18 2019, 9:14 PM · Text Editor, BF Blender