Menu

#80 text and filesel widget changes

open
nobody
None
5
2013-01-01
2005-04-03
No

There are three patch...

First:
- change text widget, to display any length line
- allow scrolling to see the whole text (Left, Right,
PgUp, PgDw,
Home, End).
- new 'allow' : WIDGET_INPUT_NONE a read only text
widget :-)
- some changes in data struct:
* text is a char * instead of array
* max_len is to maximize input len :-)
- left and/or right arrows indicating 'long'
scrollable text

- change the widget.c make one widget_put_arrow funcion
instead of several widget_xxx_arrow ...

- in filesel.c **why not allow users to handtype
filenames if
opening a file? ** So, is_saving 'always 1'
(similarly to any
other file-opening widget... )
- with [space] we can see the full filename in a text
widget :-)
I need it badly :-) because lot of the WOS's tzx
has a long
name (e.g.: Aufwiedersehen Monty - 128k.tzx and
Aufwiedersehen Monty - 48k.tzx) and I cannot make diffs
anyhow...
- change the text: "Return = select file" to
"Space = see name", BTW: I think, the function of
Return is
clear enough

Second:
- add sucsessive search: Left Alt, Meta and Ctrl
start search
forward from the current file, Right Alt, Meta and
Ctrl start
search backward from the current file...

Third:
All in one patch :-)

Gergely

p.s.: native_keys... hmm.. there is no $%&*()!@, etc...
:-( (with the xlib UI)

Discussion

  • Gergely Szasz

    Gergely Szasz - 2005-04-03

    All in one

     
  • Gergely Szasz

    Gergely Szasz - 2005-04-03

    long text + see filename

     
  • Gergely Szasz

    Gergely Szasz - 2005-04-03
    • search in filesel
     
  • Philip Kendall

    Philip Kendall - 2005-04-03

    Logged In: YES
    user_id=29214

    Could you split this into separate patches such that each
    patch contains just one change?

     
  • Gergely Szasz

    Gergely Szasz - 2005-04-04

    Logged In: YES
    user_id=57243

    Yes!

    01_ change the widget_xxx_arrow to widget_put_arrow
    02_ change text widget to handle arbitary length input
    03_ space show the full name of the current file
    04_ Alt, Meta and Ctrl start search filename
    05_ enable input by hand in file_open :-)

     
  • Gergely Szasz

    Gergely Szasz - 2005-04-04
     
  • Gergely Szasz

    Gergely Szasz - 2005-04-04
     
  • Gergely Szasz

    Gergely Szasz - 2005-04-04
     
  • Gergely Szasz

    Gergely Szasz - 2005-04-04
     
  • Gergely Szasz

    Gergely Szasz - 2005-04-04
     
  • Gergely Szasz

    Gergely Szasz - 2005-09-30

    Logged In: YES
    user_id=57243

    I update the five patch to the current cvs...
    - 5.1 change widget_xx_arrow to widget_put_arrow and add
    left-right arrow...
    - 5.2 text widget handle any length text...
    - 5.3 in filesel widget [space] show the current file full name
    - 5.4 Alt or Meta or Ctrl start file search (like
    Ctrl-S/Alt-S in mc)
    - 5.5 The Load filesel widget is the same than Save
    filesel, so we can type the filename at Load :-)

     
  • Gergely Szasz

    Gergely Szasz - 2005-09-30

    put_arrow with up/dow/left/right arrow

     
  • Gergely Szasz

    Gergely Szasz - 2005-09-30

    "new" text widget

     
  • Gergely Szasz

    Gergely Szasz - 2005-09-30

    [space] show full name

     
  • Gergely Szasz

    Gergely Szasz - 2005-09-30

    search like Ctrl-S in mc

     
  • Gergely Szasz

    Gergely Szasz - 2005-09-30

    Load and Save are both allow typing filenames .. :-)

     
  • Gergely Szasz

    Gergely Szasz - 2005-09-30

    All in one diff (for spirited ones :-)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.