Page MenuHome

Text EditorProject
ActivePublic

Details

Description

Text editor built into Blender.

Recent Activity

Thu, Aug 15

Peter Fog (tintwotin) added a comment to D5474: Horizontal Find & Replace for the Text Editor.

Now this patch has been abandoned, who has a better solution, and how/where to discuss it?

Thu, Aug 15, 11:10 AM · Text Editor, BF Blender
Dalai Felinto (dfelinto) closed T68658: Text offset makes scale to fit not to work as Resolved by committing rBcb7ead2e3b62: Fix T68658: Text offset makes scale to fit not to work.
Thu, Aug 15, 12:23 AM · Text Editor, BF Blender

Wed, Aug 14

Philipp Oeser (lichtwerk) added a revision to T68658: Text offset makes scale to fit not to work: D5484: Fix T68658: Text offset makes scale to fit not to work.
Wed, Aug 14, 8:36 PM · Text Editor, BF Blender
Dalai Felinto (dfelinto) added a project to T68658: Text offset makes scale to fit not to work: Text Editor.
Wed, Aug 14, 8:08 PM · Text Editor, BF Blender
Peter Fog (tintwotin) abandoned D5444: Info Editor - Add Menus.
Wed, Aug 14, 12:38 PM · Text Editor, User Interface, BF Blender
Peter Fog (tintwotin) abandoned D5474: Horizontal Find & Replace for the Text Editor.
Wed, Aug 14, 12:35 PM · Text Editor, BF Blender
Brecht Van Lommel (brecht) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.

Closing diff since this was committed, further changes can be submitted as separate code review if needed.

Wed, Aug 14, 11:48 AM · Text Editor, BF Blender
D5474: Horizontal Find & Replace for the Text Editor now requires changes to proceed.

Setting as requesting changes, although it might be better to close the patch since the design hasn't been agreed on.

Wed, Aug 14, 11:05 AM · Text Editor, BF Blender
Campbell Barton (campbellbarton) added a comment to D5474: Horizontal Find & Replace for the Text Editor.

Would prefer this be handled as a design task before going though code review.

Wed, Aug 14, 9:46 AM · Text Editor, BF Blender
Campbell Barton (campbellbarton) added a comment to D5474: Horizontal Find & Replace for the Text Editor.

I think it's a nice overall goal to do it this way, more like dedicated text and code editors. So if the issues can do handled, I do think it makes sense to do something like this.

I don't really agree that this is more like dedicated text editors. In VS Code it is actually more similar to the current implementation. That is not to say, that this would not be an improvement, just for other reasons maybe.

Wed, Aug 14, 9:29 AM · Text Editor, BF Blender
Peter Fog (tintwotin) added a comment to D5474: Horizontal Find & Replace for the Text Editor.

An alternative way would be if the scrollbar was moved to the right of the side bar and the unused part of the sidebar was made transparent, like the 3D View:

Wed, Aug 14, 8:48 AM · Text Editor, BF Blender
Jacques Lucke (JacquesLucke) added a comment to D5474: Horizontal Find & Replace for the Text Editor.

I think it's a nice overall goal to do it this way, more like dedicated text and code editors. So if the issues can do handled, I do think it makes sense to do something like this.

Wed, Aug 14, 8:07 AM · Text Editor, BF Blender

Tue, Aug 13

William Reynish (billreynish) added a comment to D5474: Horizontal Find & Replace for the Text Editor.

I think it's a nice overall goal to do it this way, more like dedicated text and code editors. So if the issues can do handled, I do think it makes sense to do something like this.

Tue, Aug 13, 8:57 PM · Text Editor, BF Blender
Peter Fog (tintwotin) added a comment to D5474: Horizontal Find & Replace for the Text Editor.

I think the main question is if this kind of design is worth pursuing? This is more like a test of concept and in the end of the day, it may not the best idea to actually code the operator in Python ex. with no text.get_selection in the API(for adding selection to find box), and the other things @Campbell Barton (campbellbarton) points out here.

Tue, Aug 13, 8:50 PM · Text Editor, BF Blender
Campbell Barton (campbellbarton) added a comment to D5474: Horizontal Find & Replace for the Text Editor.
  • The text field is no longer active upon pressing Ctrl-F.
  • If you want to enable wrap for Ctrl-G (next selected). There is no longer an obvious way to do this.
  • If you're finding long words, the text fields are quite small and there is no way to make them bigger.
  • This removes use of iface_ for translating File.
  • There is no reason to add this property to the window manager as far as I can see.
Tue, Aug 13, 7:46 PM · Text Editor, BF Blender
Peter Fog (tintwotin) updated the summary of D5474: Horizontal Find & Replace for the Text Editor.
Tue, Aug 13, 7:08 PM · Text Editor, BF Blender
Peter Fog (tintwotin) created D5474: Horizontal Find & Replace for the Text Editor.
Tue, Aug 13, 6:04 PM · Text Editor, BF Blender
Dalai Felinto (dfelinto) moved T68068: Text editor undo system, undo step limiting behavior from Backlog to Curated on the Text Editor board.
Tue, Aug 13, 2:58 PM · Text Editor, Datablocks and Libraries, BF Blender
Dalai Felinto (dfelinto) added a project to T68068: Text editor undo system, undo step limiting behavior: Text Editor.
Tue, Aug 13, 2:57 PM · Text Editor, Datablocks and Libraries, BF Blender
William Reynish (billreynish) added a comment to D5028: Text Editor UI updates.

Let's move Register to the Text menu and add the view toggles to the header. That's what @Peter Fog (tintwotin)'s patch did anyway, but it was filtered out.

Tue, Aug 13, 2:34 PM · BF Blender, Text Editor
Sybren A. Stüvel (sybren) added inline comments to D5028: Text Editor UI updates.
Tue, Aug 13, 2:01 PM · BF Blender, Text Editor

Sun, Aug 11

Campbell Barton (campbellbarton) closed T68062: Support Text Editor Comment/Indent w/o selection as Resolved.
Sun, Aug 11, 2:15 PM · Text Editor

Fri, Aug 9

Campbell Barton (campbellbarton) added a comment to D5028: Text Editor UI updates.

Added back the icon toggles rB58f38ff5c1a392b40129cad100e8c1e5371d7169

Fri, Aug 9, 5:29 PM · BF Blender, Text Editor
Campbell Barton (campbellbarton) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.

Added the icons back, rB58f38ff5c1a392b40129cad100e8c1e5371d7169

Fri, Aug 9, 5:17 PM · Text Editor, BF Blender
Sybren A. Stüvel (sybren) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.

As Campbell wrote, when he cherry picked what to commit: "would rather separate header reorganization from changing menus", so no header changes, except menus have been committed, so I guess this diff can be closed?

Fri, Aug 9, 2:51 PM · Text Editor, BF Blender
Peter Fog (tintwotin) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.

As Campbell wrote, when he cherry picked what to commit: "would rather separate header reorganization from changing menus", so no header changes, except menus have been committed, so I guess this diff can be closed?

Fri, Aug 9, 2:39 PM · Text Editor, BF Blender
Sybren A. Stüvel (sybren) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.

Alternatively we could even completely remove the Run Script button, since it's in the menu and available in the context menu and via keyboard shortcuts also.

Fri, Aug 9, 2:33 PM · Text Editor, BF Blender
Sybren A. Stüvel (sybren) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.

NB. I reinserted the view toggle buttons in the header, because removing them seemed to cause a lot of dislikes: D5028

Fri, Aug 9, 2:20 PM · Text Editor, BF Blender
Peter Fog (tintwotin) added a comment to D5175: Text Editor Missing Hotkey Fix: Comment assigned Ctrl+H, Uncomment assigned Alt+H, Replace Ctrl+R, Find Set Selected Alt + F.

Since the Toggle Comment with a shortcut key was implemented, I'll abandon this diff, though I still think 'Find Set Selected' now called 'Find Next" in the menus, could use a shortcut key.

Fri, Aug 9, 2:11 PM · BF Blender, Text Editor
D5444: Info Editor - Add Menus is now accepted and ready to land.
Fri, Aug 9, 1:40 PM · Text Editor, User Interface, BF Blender
Campbell Barton (campbellbarton) closed D5443: Python Console Menus - Updated .
Fri, Aug 9, 11:30 AM · Text Editor, BF Blender
D5443: Python Console Menus - Updated is now accepted and ready to land.

Thanks, committed rB533e48520e8639854df91593cc1be435c53f5357

Fri, Aug 9, 11:30 AM · Text Editor, BF Blender
Peter Fog (tintwotin) added a comment to D5443: Python Console Menus - Updated .

This update adds the Console menu as Context menu(w/right click).

Fri, Aug 9, 11:23 AM · Text Editor, BF Blender
William Reynish (billreynish) added a comment to D5444: Info Editor - Add Menus.

Not sure if we want to define the context menu separately from the Info menu or not. In any case this seems to work ok and is vastly better than before.

Fri, Aug 9, 11:11 AM · Text Editor, User Interface, BF Blender
Peter Fog (tintwotin) updated the summary of D5444: Info Editor - Add Menus.

Update adds the Info menu as Context menu.

Fri, Aug 9, 11:09 AM · Text Editor, User Interface, BF Blender
Peter Fog (tintwotin) created D5444: Info Editor - Add Menus.
Fri, Aug 9, 10:38 AM · Text Editor, User Interface, BF Blender
Peter Fog (tintwotin) added a comment to D5443: Python Console Menus - Updated .

More class renaming.

Fri, Aug 9, 7:44 AM · Text Editor, BF Blender
Peter Fog (tintwotin) added a comment to D5443: Python Console Menus - Updated .

Cleaned up class naming.

Fri, Aug 9, 7:39 AM · Text Editor, BF Blender
Peter Fog (tintwotin) created D5443: Python Console Menus - Updated .
Fri, Aug 9, 7:31 AM · Text Editor, BF Blender

Thu, Aug 8

Peter Fog (tintwotin) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.

@Campbell Barton (campbellbarton) Thank you for committing this.

Thu, Aug 8, 10:07 AM · Text Editor, BF Blender
Campbell Barton (campbellbarton) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.

Committed rB512b562b3b96d365dce35d91d2a64a78c4483dca but left some changes out.

Thu, Aug 8, 8:25 AM · Text Editor, BF Blender
Peter Fog (tintwotin) updated the summary of D5434: Text Editor Menus - Refreshed & Proposals.

Remove Refresh.
Remove wrapping of args.
Rename to Move Line(s) Up/Down.

Thu, Aug 8, 7:21 AM · Text Editor, BF Blender
Peter Fog (tintwotin) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.

Added select Word to Select menu.

Thu, Aug 8, 7:06 AM · Text Editor, BF Blender
D5434: Text Editor Menus - Refreshed & Proposals now requires changes to proceed.

The patch is a little out of date though (comment/uncomment have been removed).

Thu, Aug 8, 6:58 AM · Text Editor, BF Blender
Peter Fog (tintwotin) updated the summary of D5434: Text Editor Menus - Refreshed & Proposals.
Thu, Aug 8, 6:45 AM · Text Editor, BF Blender
Peter Fog (tintwotin) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.

Swapped the viewport toggles with the Run Script operator button:

Thu, Aug 8, 6:43 AM · Text Editor, BF Blender

Wed, Aug 7

Peter Fog (tintwotin) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.

It\s possible to move Run Script a little closer, and maybe a little space around the view buttons is an improvement.

Wed, Aug 7, 10:54 PM · Text Editor, BF Blender
William Reynish (billreynish) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.
Wed, Aug 7, 10:45 PM · Text Editor, BF Blender
Peter Fog (tintwotin) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.

@William Reynish (billreynish) Like this:

Wed, Aug 7, 10:28 PM · Text Editor, BF Blender
William Reynish (billreynish) added a comment to D5434: Text Editor Menus - Refreshed & Proposals.

Nice fixes and changes. I would probably swap the viewport toggles with the Run Script operator button. Other than that it looks good to me.

Wed, Aug 7, 10:06 PM · Text Editor, BF Blender