Change case of text selection

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Lewis
User
User
Posts: 47
Joined: Fri Nov 25, 2005 1:12 pm

Change case of text selection

Post by Lewis »

Please invoke "change case" functions in the PB IDE. That is, apply functions to

1. Invert case (upper becomes lower, lower becomes upper)
2. Upper case (whole selection becomes upper case)
3. Lower case (whole selection becomes lower case)
4. Sentence case (first letter of selection is capitalized)
5. Capitalize (first letter of each word in the selection is capitalized)

IMHO, I would deem the first three as essential functions of any respectable text editor included in an IDE.

TIA.

PS. Lately I've noticed several messages/posts around this subject. ;)
User avatar
oreopa
Enthusiast
Enthusiast
Posts: 283
Joined: Sat Jun 24, 2006 3:29 am
Location: Edinburgh, Scotland.

Post by oreopa »

+100

I like to use the default editor for PB... I don't get the same connection using my normal text editor...

This is a good call and a feature I'd use a LOT... (selection to upper/lower is fine for me)...

I'd also like a "column selection" mode also...but not to hijack the thread.. :) Actually, don't registered users get all the sources to the IDE... /me goes to check...

EDIT: Ok... maybe I dreamt that the sources were available or so :)
Proud supporter of PB! * Musician * C64/6502 Freak
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Post by pdwyer »

I would like (hope I'm not hijacking) a "AutoMatchCase" too.

That matches the case of vars, structures and functions with what is in their definitions. So that snap to the case when they match after typing them.

(obviously toggleable from the options and off by default so as not to annoy others who don't need it)
Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> I'd also like a "column selection" mode

Hold down Alt and select your text. ;)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
oreopa
Enthusiast
Enthusiast
Posts: 283
Joined: Sat Jun 24, 2006 3:29 am
Location: Edinburgh, Scotland.

Post by oreopa »

PB wrote:> I'd also like a "column selection" mode

Hold down Alt and select your text. ;)
Oof! Smart... Thx for that one - I miss this from Ultraedit and I prefer to use the PB IDE. I read manuals. Honest.
Proud supporter of PB! * Musician * C64/6502 Freak
Post Reply