source: tags/initial/EDIT4/ed4_block.hxx

Last change on this file was 2, checked in by oldcode, 24 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1
2typedef enum
3{
4    ED4_BT_NOBLOCK,             // nothing is marked
5    ED4_BT_LINEBLOCK,           // all species with EDIT4-marks are marked
6    ED4_BT_COLUMNBLOCK,         // range is marked
7    ED4_BT_MODIFIED_COLUMNBLOCK // was columnblock, but single species were removed/added
8   
9} ED4_blocktype;
10
11typedef enum {
12    ED4_BO_UPPER_CASE,
13    ED4_BO_LOWER_CASE,
14    ED4_BO_REVERSE,
15    ED4_BO_COMPLEMENT,
16    ED4_BO_REVERSE_COMPLEMENT,
17    ED4_BO_UNALIGN,
18    ED4_BO_SHIFT_LEFT,
19    ED4_BO_SHIFT_RIGHT
20   
21} ED4_blockoperation_type;
22
23ED4_blocktype ED4_getBlocktype();
24void ED4_setBlocktype(ED4_blocktype bt);
25void ED4_toggle_block_type();
26void ED4_correctBlocktypeAfterSelection();
27void ED4_setColumnblockCorner(AW_event *event, ED4_sequence_terminal *seq_term);
28int ED4_get_selected_range(ED4_terminal *term, int *first_column, int *last_column); 
29
30
31typedef char *(*ED4_blockoperation)(const char *sequence_data, int len, int repeat, int *new_len, GB_ERROR *error);
32void ED4_with_whole_block(ED4_blockoperation block_operation, int repeat);
33void ED4_perform_block_operation(ED4_blockoperation_type type);
34
35AW_window *ED4_create_replace_window(AW_root *root); 
Note: See TracBrowser for help on using the repository browser.