BLARGH Text editor - Revision 103

Sephi

fool
OP
Member
Joined
Jan 21, 2008
Messages
1,852
Trophies
1
Age
31
Location
Rhode Island
Website
nov.us.to
XP
627
Country
United States
BLARGH Text editor has been updated 6 times since last news update on GBAtemp.

lots of updates since revision 97

QUOTE said:
Revision: 103
Author: anomalous_underdog
Date: 2008-May-04 22.25.16
Message:
Added placeholder values for cut, copy, paste, home, end, undo, redo, and search.

----
Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/HexGrid.cpp
Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/HexGrid.h
Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.cpp
Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.h


Revision: 102
Author: anomalous_underdog
Date: 2008-May-04 22.17.34
Message:
Added unit tests for the bugs in textbox concerning word-wrapped lines.

----
Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Tests/TestTextBox.cpp


Revision: 101
Author: anomalous_underdog
Date: 2008-May-04 01.48.29
Message:
Bugfix: When backspacing the topleft-most character, the text should scroll upwards.

Also updated todo file.

----
Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/TaskCoachFile.tsk
Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.cpp


Revision: 100
Author: anomalous_underdog
Date: 2008-May-04 00.31.11
Message:
Bugfix: When inserting a newline while in a word-wrapped line, and the cursor is at the beginning of a display line, the graphical cursor should not move anywhere.

Also updated todo file.

----
Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/TaskCoachFile.tsk
Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.cpp


Revision: 99
Author: anomalous_underdog
Date: 2008-May-04 00.17.37
Message:
Bugfix: TextBox::mLineData would have elements more than the available display lines.

Bugfix: Graphical cursor would move up when inserting new chars when they shouldn't have.

Bugfix: Made sure graphical cursor doesn't get stuck to a position somewhere beyond what is possible (when backspacing at the end of a word-wrapped line wherein the backspacing made the line not word-wrapped anymore). (I simply brought back the code removed in r98).

Bugfix: Now TextBox::clearLeftOverSpace() is always called on every call to TextBox::refreshTextDisplay(). This is to ensure display lines that should be cleared are cleared.

Refactoring: Added private function TextBox::whichDisplayLineCursorIsIn()

----
Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.cpp
Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.h


Revision: 98
Author: anomalous_underdog
Date: 2008-May-03 19.45.23
Message:
Bugfix: When inserting a char at the end of text, and the line became word-wrapped because of that newly inserted char, the cursor was not getting updated properly. Additionaly, if that caused a vertical scroll down, the line wouldn't get cleared.

Bugfix: When inserting a new char at the beggining of a display line, but that display line is part of word-wrapped line: if the char to insert was thin enough, it would be displayed at the line above, so the cursor should go upwards too, instead it stayed where it was.

Bugfix: The first TextLine was not getting the proper offset value if vertical scrolling had occured.

Refactoring: TextBox::isCursorInAWordWrappedLine() now uses TextLine data

Refactoring: TextBox::moveTextCursorToEndOfPrevLine() has a new override function, one that uses TextLine data. TextBox::moveTextCursorLeft(const s16) makes use of this.

TextLine::length now no longer includes the newline in its value

----
Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.cpp
Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.h


topic on gbadev

developers downloads

mirror 1
mirror 2

GBAtemp download - [attachment=335:blarghte...tor.r103.zip]
 

Destructobot

Crave the Hammer
Member
Joined
Oct 15, 2006
Messages
5,002
Trophies
0
Age
45
Location
Portland, OR
Website
Visit site
XP
321
Country
United States
If it turns out that it can save files I'll put it on the portal, but if not I don't really see this as being very useful to the average GBAtemp member. It looks to me like the whole point of this program was to port that keyboard layout to the DS so that other homebrew authors could use it in their own apps.

I do like the keyboard. Qwerty KBs suck donkeys on the DS.
 

JPH

Banned!
Banned
Joined
Jul 11, 2006
Messages
6,881
Trophies
0
Website
jphtemp.net
XP
1,171
Country
United States
Destructobot said:
If it turns out that it can save files I'll put it on the portal, but if not I don't really see this as being very useful to the average GBAtemp member. It looks to me like the whole point of this program was to port that keyboard layout to the DS so that other homebrew authors could use it in their own apps.

I do like the keyboard. Qwerty KBs suck donkeys on the DS.

I was deciding whether it was "Portal-worthy."
But concluded it's not - just a shitty little un-developed app for the DS (that you can find on DSO or similar).
nyanya.gif
 

Destructobot

Crave the Hammer
Member
Joined
Oct 15, 2006
Messages
5,002
Trophies
0
Age
45
Location
Portland, OR
Website
Visit site
XP
321
Country
United States
IMO the keyboard layout alone would make it worthy of being on the portal, if you could actually use it as a text editor. A text editor that can't save isn't really an editor, it's a viewer, and there are many of those on the DS that are better than this.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe a ghost writer?
  • BigOnYa @ BigOnYa:
    "Oh my God the graphics are so realistic looking." Lol of course it was the shiznit back then tho.
  • BigOnYa @ BigOnYa:
    I've never stood in line overnight or for hours, to buy anything. I can just wait and buy it later.
  • RedColoredStars @ RedColoredStars:
    I have never done that either.
  • RedColoredStars @ RedColoredStars:
    closest ive done is getting to target a couple hours early in the moring to get some amiibos.
  • Xdqwerty @ Xdqwerty:
    Im back
  • RedColoredStars @ RedColoredStars:
    But that topic makes me sad. :(
  • RedColoredStars @ RedColoredStars:
    Abusive narcissistic ex shame guilted me into selling them becasue my gaming and interests were childish like a little kid collecting toys. :(
  • RedColoredStars @ RedColoredStars:
    I had soooooooooooo many of them. All still sealed.
    +1
  • RedColoredStars @ RedColoredStars:
    I eventually had to contact a domestic abuse advocate to help me get out of the apartment I was in a lease with her. And filed a restraining order on her cuz she kept harassing me after i left her.
  • Xdqwerty @ Xdqwerty:
    I didnt bring my Charger and nobody here has one compatible with my phone
  • RedColoredStars @ RedColoredStars:
    either you have usb C and no one else does, or everone else has usb c except you. haha
    +1
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, i don't have usb c
  • RedColoredStars @ RedColoredStars:
    That happened to me for like a year. lol. I was the only one of all my friends and family to still have an old phone.
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, my phone is from around 2019
  • RedColoredStars @ RedColoredStars:
    Mine was from 2017. lolol. I just got this new one like 6 months ago. Not even new, second hand cheapo $40 phone. But it has usb c. lol
  • RedColoredStars @ RedColoredStars:
    I cant justify $1k+ on a nice ass phone. I can spend that on a 75" tv screen. Why a 6" screen device cost me the same? lol
    +2
  • BigOnYa @ BigOnYa:
    I had a iPhone 5 for like 6 years, till last year, and had to get new phone, when phone companies stop using the cdna networks, which the iphone5 used.
  • K3Nv2 @ K3Nv2:
    A phone can do more than a TV
    +2
  • BigOnYa @ BigOnYa:
    These smart TVs are getting close tho. Gonna be like "back to future" TVs before long.
    +1
  • K3Nv2 @ K3Nv2:
    Nah a phones going to always be more powerful than a TV if the TVs $2grand maybe but why when I can put a smaller device in my pocket that does basically everything a TV already does
    +1
  • K3Nv2 @ K3Nv2:
    I can justify a decent $800 smartphone that'll last 3 years when I could get a 65" TV for $400 and buy a decent micro computer for $100 more
  • K3Nv2 @ K3Nv2:
    Tbf there are decent $400 smartphones in today's market that make top end spec phones unjust it's just what you want
    K3Nv2 @ K3Nv2: Tbf there are decent $400 smartphones in today's market that make top end spec phones unjust...