Difference between revisions of "Talk:Folding support"

(ADT)
(ADT)
Line 47: Line 47:
 
[[User:Exception|Exception]] 14:45, 4 May 2006 (CEST)<br/>
 
[[User:Exception|Exception]] 14:45, 4 May 2006 (CEST)<br/>
 
i think we need another data type / class that specifies where folding is possible and wheter it's folded or nod. i propose the name '''EV_FOLDING_AREA'''.<br>
 
i think we need another data type / class that specifies where folding is possible and wheter it's folded or nod. i propose the name '''EV_FOLDING_AREA'''.<br>
 
  
 
it should have the following functions: <br/>
 
it should have the following functions: <br/>
Line 64: Line 63:
 
'''content:''' EV_FOLDING_AREA x EV_FOLDING_WIDGET -> STRING <br/>
 
'''content:''' EV_FOLDING_AREA x EV_FOLDING_WIDGET -> STRING <br/>
 
the content of the area. <br/>
 
the content of the area. <br/>
 
  
 
the structure would be controlled by the controller witch knows of the AST. <br/>
 
the structure would be controlled by the controller witch knows of the AST. <br/>
 +
 +
as always, this is only a proposal.
  
  

Revision as of 03:52, 4 May 2006

general TODO

Sanakan 20:37, 3 May 2006 (CEST)

syntax: phase <nr> [<who>] <deadline>

phase 0 (everyone!) saturday, may 6

  • specify ADT
  • generate and discuss a complete ADT of the EV_FOLDING_WIDGET here, if it's complete & correct, we can copy it over to the main page.

phase 1 (stefan, oliver, thomas, Grippus, sanakan) saturday, may 13

  • implement first rough draft of the EV_FOLDING_WIDGET based on the ADT from above (see also hint below).

phase 2 (lukas, Bru, Lord Bubu, sanakan) ...

  • write interface EV_FOLDING_CONTROLLER for users to use our folding widget by supplying an AST.

phase 3 (Grippus, Ledergec, salmanasar, ) ...

  • extensive testing (all members)
  • documentation

phase 4 (to be assigned) ...

  • integration with EiffelStudio (aka. wunschtraum...)

hint

Bayt

The folding support should be included the: EDITABLE_TEXT_PANEL

ADT

WhatWhereWhenHowWhy
Sanakan 16:59, 26 April 2006 (CEST)

discuss what the ADT of the widget should be like:


Bru 23:08, 3 May 2006 (CEST)
I guess the ADT should support the following functions:
fold:
take the selected text and hide it, mark the point where the missing text goes and display the rest
unfold:
display the missing text at its correct position and remove the corresponding mark.
contents:
provide access to the folded text passage???

well, those are my 50 cents...


Exception 14:45, 4 May 2006 (CEST)
i think we need another data type / class that specifies where folding is possible and wheter it's folded or nod. i propose the name EV_FOLDING_AREA.

it should have the following functions:
create: -> EV_FOLDING_AREA
the area goes from this character on.
from: EV_FOLDING_AREA -> INTEGER
the area goes from this character on.
to: EV_FOLDING_AREA -> INTEGER
the area goes until this character.
folded: EV_FOLDING_AREA -> BOOLEAN
is it folded or not?
fold: EV_FOLDING_AREA -> EV_FOLDING_AREA
fold the area.
unfold: EV_FOLDING_AREA -> EV_FOLDING_AREA
fold the area.
content: EV_FOLDING_AREA x EV_FOLDING_WIDGET -> STRING
the content of the area.

the structure would be controlled by the controller witch knows of the AST.

as always, this is only a proposal.


--Unthomas 14:05, 1 May 2006 (CEST)
Here a link to an interesting paper about ADTs and text editors (node 15): http://www.cs.unm.edu/~crowley/papers/sds/sds.html
Are you able to see the figures?

no images over here, either... but here's a download of said paper: crowley98data.ps
Sanakan 01:06, 2 May 2006 (CEST)

working title of the project

A few ideas:

  • Folding -> falten -> eiffel-origami
  • FEES : Folding editor for Eiffel Studio
  • hidden beauty project
  • HYCs : Hide your code
  • Folding Fields
  • Heilige Dreifaltigkeit

any comments from team members?

Sanakan 22:02, 19 April 2006 (CEST)

Bayt I really like origamiE :-)