Page MenuHome
Feed Advanced Search

Fri, Jul 5

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

@Campbell Barton (campbellbarton) There is actually an old patch which I think may solve the API issues you mention: D1613

Fri, Jul 5, 7:00 PM · BF Blender, Python, Text Editor

Thu, Jul 4

Peter Fog (tintwotin) updated the summary of D5175: Text Editor Missing Hotkey Fix: Comment assigned Ctrl+H, Uncomment assigned Alt+H, Replace Ctrl+R, Find Set Selected Alt + F.
Thu, Jul 4, 10:10 PM · BF Blender, Text Editor

Wed, Jul 3

Peter Fog (tintwotin) updated the summary of D5175: Text Editor Missing Hotkey Fix: Comment assigned Ctrl+H, Uncomment assigned Alt+H, Replace Ctrl+R, Find Set Selected Alt + F.
Wed, Jul 3, 6:58 PM · BF Blender, Text Editor
Peter Fog (tintwotin) created D5175: Text Editor Missing Hotkey Fix: Comment assigned Ctrl+H, Uncomment assigned Alt+H, Replace Ctrl+R, Find Set Selected Alt + F.
Wed, Jul 3, 5:53 PM · BF Blender, Text Editor
Samuel Bernou (Pullup) added a comment to T66317: Text editor API needs a 'select_end_line_index' attribute to expose selection to the user..

Nice !
I didn't thought to compare line object itself against select_end_line.
Someone also gave me this solution on BA thread "Get / set character and line coordinate of the selection in the text editor".
Thanks for the digging.

Wed, Jul 3, 10:38 AM · Python, Text Editor
Dalai Felinto (dfelinto) added a comment to T66317: Text editor API needs a 'select_end_line_index' attribute to expose selection to the user..

I have an old addon (which is outdated) that was handling text selection with no problems:
https://developer.blender.org/diffusion/BAC/browse/master/text_editor_hastebin.py

Wed, Jul 3, 1:13 AM · Python, Text Editor

Mon, Jul 1

Samuel Bernou (Pullup) updated the task description for T66317: Text editor API needs a 'select_end_line_index' attribute to expose selection to the user..
Mon, Jul 1, 10:56 PM · Python, Text Editor
Samuel Bernou (Pullup) created T66317: Text editor API needs a 'select_end_line_index' attribute to expose selection to the user..
Mon, Jul 1, 10:51 PM · Python, Text Editor

Fri, Jun 28

Sebastian Parborg (zeddb) added a comment to T66172: Text Editor Undo bugs.

I suspect that the reason for it failing is the same as in the initial report. If this is still an issue after that one is fixed, we can reopen this.

Fri, Jun 28, 4:56 PM · Python, Text Editor, BF Blender
Sebastian Parborg (zeddb) merged task T66172: Text Editor Undo bugs into T65909: Python API calling: bpy.ops.text.cut +bpy.ops.text.paste will fail when undo..
Fri, Jun 28, 4:56 PM · Python, Text Editor, BF Blender

Thu, Jun 27

Peter Fog (tintwotin) updated the task description for T66172: Text Editor Undo bugs.
Thu, Jun 27, 11:46 AM · Python, Text Editor, BF Blender
Peter Fog (tintwotin) added projects to T66172: Text Editor Undo bugs: Text Editor, Python.
Thu, Jun 27, 11:45 AM · Python, Text Editor, BF Blender

Tue, Jun 25

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

Jun 21 2019

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

Jun 20 2019

Peter Fog (tintwotin) added a project to D5097: Adding 'Trim Whitespaces', 'Split & Join Line' and 'Change Case' to Text Editor : BF Blender.
Jun 20 2019, 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 .
Jun 20 2019, 6:55 AM · BF Blender, Python, Text Editor

Jun 14 2019

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

Jun 13 2019

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

Fix wrong diff

Jun 13 2019, 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:

Jun 13 2019, 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
Jun 13 2019, 4:51 PM · BF Blender, Text Editor
William Reynish (billreynish) commandeered D5028: Text Editor UI updates.
Jun 13 2019, 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.

Jun 13 2019, 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)

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

Jun 6 2019

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.

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

Just removed "bpy." - not needed.

Jun 6 2019, 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:

Jun 6 2019, 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:

Jun 6 2019, 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.

Jun 6 2019, 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.

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

I would even go further:

Jun 6 2019, 11:59 AM · BF Blender, Text Editor
Peter Fog (tintwotin) added a reviewer for D5028: Text Editor UI updates: William Reynish (billreynish).
Jun 6 2019, 11:00 AM · BF Blender, Text Editor
Peter Fog (tintwotin) created D5028: Text Editor UI updates.
Jun 6 2019, 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

Mar 15 2019

Sybren A. Stüvel (sybren) added inline comments to D4512: Convert indentation whitespaces to user defined spaces or tabs.
Mar 15 2019, 11:45 AM · Text Editor, BF Blender
Brecht Van Lommel (brecht) added a comment to D4512: Convert indentation whitespaces to user defined spaces or tabs.

This doesn't fix the main bug in T60234: Shift+Tab only works with new text, which I think is that our indent/unindent operators should work with both tabs and spaces. But we can consider this as a change on its own.

Mar 15 2019, 11:13 AM · Text Editor, BF Blender
Sybren A. Stüvel (sybren) requested changes to D4512: Convert indentation whitespaces to user defined spaces or tabs.
Mar 15 2019, 10:35 AM · Text Editor, BF Blender

Mar 14 2019

Brecht Van Lommel (brecht) added a task to D4512: Convert indentation whitespaces to user defined spaces or tabs: T60234: Shift+Tab only works with new text.
Mar 14 2019, 3:42 PM · Text Editor, BF Blender
Brecht Van Lommel (brecht) removed a reviewer for D4512: Convert indentation whitespaces to user defined spaces or tabs: BF Blender.
Mar 14 2019, 1:36 PM · Text Editor, BF Blender
Bruno Boaventura Scholl (brunobbs) created D4512: Convert indentation whitespaces to user defined spaces or tabs.
Mar 14 2019, 1:31 PM · Text Editor, BF Blender

Jan 9 2019

Campbell Barton (campbellbarton) closed T59165: Text Editor - Pasting text kills undo steps as Resolved by committing rB9012ad155c4f: Fix T59165: Text operations fail to undo.
Jan 9 2019, 6:10 AM · Text Editor, BF Blender

Jan 1 2019

Sebastian Parborg (zeddb) added a comment to T60027: Operator Slider in 3D View Gets Interpreted as Backspace in Text Editor.

I'll close this as duplicate of T58217 . However, if the issue still remains after that one has been solved, please let us know.

Jan 1 2019, 1:11 PM · Text Editor, BF Blender
Sebastian Parborg (zeddb) merged task T60027: Operator Slider in 3D View Gets Interpreted as Backspace in Text Editor into T58217: Import bpy makes mesh duplicate when changing location.
Jan 1 2019, 1:10 PM · Text Editor, BF Blender
Zachary (AFWS) added a comment to T60027: Operator Slider in 3D View Gets Interpreted as Backspace in Text Editor.

I noticed the too. You don’t even have to use a operator. Sometimes just using the undo in 3D View makes it add, delete, or delete the entire text. It’s nearly impossible to use the text editor currently. My guess is it’s the undo/redo system, which seems to be causing a lot of issues.

Jan 1 2019, 11:47 AM · Text Editor, BF Blender
Jorijn de Graaf (bonjorno7) updated the task description for T60027: Operator Slider in 3D View Gets Interpreted as Backspace in Text Editor.
Jan 1 2019, 4:51 AM · Text Editor, BF Blender
Jorijn de Graaf (bonjorno7) updated the task description for T60027: Operator Slider in 3D View Gets Interpreted as Backspace in Text Editor.
Jan 1 2019, 4:47 AM · Text Editor, BF Blender
Jorijn de Graaf (bonjorno7) updated the task description for T60027: Operator Slider in 3D View Gets Interpreted as Backspace in Text Editor.
Jan 1 2019, 4:39 AM · Text Editor, BF Blender
Jorijn de Graaf (bonjorno7) updated the task description for T60027: Operator Slider in 3D View Gets Interpreted as Backspace in Text Editor.
Jan 1 2019, 4:38 AM · Text Editor, BF Blender
Jorijn de Graaf (bonjorno7) updated the task description for T60027: Operator Slider in 3D View Gets Interpreted as Backspace in Text Editor.
Jan 1 2019, 4:35 AM · Text Editor, BF Blender
Jorijn de Graaf (bonjorno7) added a comment to T60027: Operator Slider in 3D View Gets Interpreted as Backspace in Text Editor.
Jan 1 2019, 4:34 AM · Text Editor, BF Blender
Jorijn de Graaf (bonjorno7) added a comment to T60027: Operator Slider in 3D View Gets Interpreted as Backspace in Text Editor.

I don't know why the hash links to something, it's just the one from the blender splash screen.

Jan 1 2019, 4:30 AM · Text Editor, BF Blender
Jorijn de Graaf (bonjorno7) created T60027: Operator Slider in 3D View Gets Interpreted as Backspace in Text Editor.
Jan 1 2019, 4:28 AM · Text Editor, BF Blender

Dec 11 2018

Campbell Barton (campbellbarton) triaged T59165: Text Editor - Pasting text kills undo steps as Confirmed, Medium priority.
Dec 11 2018, 7:40 AM · Text Editor, BF Blender
Kai Jægersen (kaio) created T59165: Text Editor - Pasting text kills undo steps.
Dec 11 2018, 3:45 AM · Text Editor, BF Blender

Aug 29 2018

Mohammad Mahdi Rasooli (Mmrasooli) added a watcher for Text Editor: Mohammad Mahdi Rasooli (Mmrasooli).
Aug 29 2018, 9:19 AM

Aug 21 2018

Johnny Bergh (parapunk) added a watcher for Text Editor: Johnny Bergh (parapunk).
Aug 21 2018, 6:42 AM

May 31 2018

Vuk Gardašević (lijenstina) closed T55134: Undo in text editor will unlink text as Archived.

More than a week passed without a reply.

May 31 2018, 8:53 AM · Text Editor, BF Blender

May 22 2018

Philipp Oeser (lichtwerk) triaged T55134: Undo in text editor will unlink text as Needs Information from User priority.

Cannot reproduce unfortunately.

May 22 2018, 10:35 AM · Text Editor, BF Blender

May 20 2018

Valiant Valentine (Ikyuv) created T55134: Undo in text editor will unlink text.
May 20 2018, 4:49 PM · Text Editor, BF Blender

May 7 2018

Anderw (Arman11) added a comment to T54971: Use system pointer/cursor for edit text fields!.

+ you are talking about that graphics glitch (that square behind the mouse pointer/cursor)?
Yes

May 7 2018, 10:10 AM · Platform: macOS, GPU / Viewport, BF Blender
Philipp Oeser (lichtwerk) triaged T54971: Use system pointer/cursor for edit text fields! as Needs Information from User priority.

Just to make sure:

May 7 2018, 9:48 AM · Platform: macOS, GPU / Viewport, BF Blender

May 6 2018

Anderw (Arman11) created T54971: Use system pointer/cursor for edit text fields!.
May 6 2018, 2:25 PM · Platform: macOS, GPU / Viewport, BF Blender

Feb 7 2018

Brecht Van Lommel (brecht) removed a watcher for Text Editor: <SPAMMER> (nomsje).
Feb 7 2018, 9:04 PM
<SPAMMER> (nomsje) added a watcher for Text Editor: <SPAMMER> (nomsje).
Feb 7 2018, 8:26 PM

Jan 18 2018

Narendhar Manimohan (narendhar15) added a watcher for Text Editor: Narendhar Manimohan (narendhar15).
Jan 18 2018, 4:47 AM

Jan 12 2018

Colin Basnett (cmbasnett) added a watcher for Text Editor: Colin Basnett (cmbasnett).
Jan 12 2018, 10:54 AM

Aug 15 2017

Anthony LaMantia (numlocked) added a watcher for Text Editor: Anthony LaMantia (numlocked).
Aug 15 2017, 9:17 PM

Aug 8 2017

Jacob Merrill (blueprintrandom) added a comment to T52294: 2D unscaling text in game engine!.

I have been using my own hacks to center the text and create my own text hitboxes.

Aug 8 2017, 6:48 AM · Game Engine
Sergey (colder_doog) renamed T52294: 2D unscaling text in game engine! from Low quality 2D text in game engine! to 2D unscaling text in game engine!.
Aug 8 2017, 6:31 AM · Game Engine
Sergey (colder_doog) created T52294: 2D unscaling text in game engine!.
Aug 8 2017, 6:25 AM · Game Engine

Jun 6 2017

sunding (sunding) added a watcher for Text Editor: sunding (sunding).
Jun 6 2017, 7:56 AM

Jun 5 2017

Bastien Montagne (mont29) closed T51716: Text and Undo Panel bug as Archived.

Yep, known issue with our undo system, that is considered a TODO currently. Thanks for the report anyway.

Jun 5 2017, 8:37 AM · User Interface, Text Editor, BF Blender