Page MenuHome

Amit Sari (Hamitos)
User

Projects

User does not belong to any projects.

User Details

User Since
Nov 24 2018, 6:55 PM (219 w, 5 d)

Recent Activity

Jan 21 2021

xan2622 (xan2622) awarded D4054: Add horizontal scrollbar to the Text Editor a Love token.
Jan 21 2021, 7:04 PM · Text Editor, BF Blender: 2.8, User Interface

Jul 23 2020

Mateusz Grzeliński (grzelins) awarded D4054: Add horizontal scrollbar to the Text Editor a Love token.
Jul 23 2020, 8:27 PM · Text Editor, BF Blender: 2.8, User Interface

Jun 19 2020

Amit Sari (Hamitos) placed T57711: Add horizontal scroll bar to Text Editor up for grabs.
Jun 19 2020, 11:58 AM · Restricted Project, User Interface, BF Blender: 2.8

Nov 26 2019

Andrea Monzini (Andrea_Monzini) awarded D4054: Add horizontal scrollbar to the Text Editor a Love token.
Nov 26 2019, 12:21 AM · Text Editor, BF Blender: 2.8, User Interface

Jun 8 2019

Peter Fog (tintwotin) awarded D4054: Add horizontal scrollbar to the Text Editor a Like token.
Jun 8 2019, 2:05 PM · Text Editor, BF Blender: 2.8, User Interface

Apr 19 2019

Amit Sari (Hamitos) added a comment to D4054: Add horizontal scrollbar to the Text Editor.

Using multi byte characters allows you to scroll too far, not stopping you from seeing all the text.
So i'm fine with it being a known limitation (Freedom?).

Apr 19 2019, 10:11 AM · Text Editor, BF Blender: 2.8, User Interface

Mar 23 2019

Amit Sari (Hamitos) updated the diff for D4054: Add horizontal scrollbar to the Text Editor.

Added longest line length to the drawcache so we don't need to loop over all lines every draw call.

Mar 23 2019, 9:03 PM · Text Editor, BF Blender: 2.8, User Interface
Amit Sari (Hamitos) commandeered D4054: Add horizontal scrollbar to the Text Editor.

Commandeering to try and update when I'm the author.

Mar 23 2019, 9:01 PM · Text Editor, BF Blender: 2.8, User Interface

Mar 9 2019

Amit Sari (Hamitos) added a comment to D4054: Add horizontal scrollbar to the Text Editor.

Hmm you're right.
However I think looping over visible lines only will cause weird behavior e.g. Jumping left horizontally when scrolling away from the longest line.
I added longest_line_length to the drawcache instead.

Mar 9 2019, 2:45 PM · Text Editor, BF Blender: 2.8, User Interface

Dec 8 2018

Amit Sari (Hamitos) claimed T57711: Add horizontal scroll bar to Text Editor.

Hey, I have a diff ready here.
What happens now?

Dec 8 2018, 4:28 PM · Restricted Project, User Interface, BF Blender: 2.8

Nov 24 2018

Amit Sari (Hamitos) added a comment to T57711: Add horizontal scroll bar to Text Editor.

Hey, I started on this one last weekend and I have a working version of the drawing functions - The scrollbar is correctly drawn according to line length and window size and so on.
I'll get the code to a presentable state and add mouse functionality over the next few weekends.
Just a question though:
What should the highlight be when the selection spans more than one line?
For example if "according to line length" to "I'll get the code" was selected, should there be two red line at the bottom? Should there be a red line at all?

Nov 24 2018, 7:23 PM · Restricted Project, User Interface, BF Blender: 2.8