Changeset 8307
- Timestamp:
- 16/12/11 11:17:35 (5 months ago)
- Location:
- branches/e4fix/EDIT4
- Files:
-
- 2 modified
-
ED4_no_class.cxx (modified) (1 diff)
-
ED4_plugins.cxx (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/e4fix/EDIT4/ED4_no_class.cxx
r8306 r8307 652 652 } 653 653 654 void ED4_remote_set_cursor_cb(AW_root *awr, AW_CL /* cd1 */, AW_CL /* cd2 */) 655 { 654 void ED4_remote_set_cursor_cb(AW_root *awr, AW_CL /* cd1 */, AW_CL /* cd2 */) { 656 655 AW_awar *awar = awr->awar(AWAR_SET_CURSOR_POSITION); 657 656 long pos = awar->read_int(); 658 657 659 658 if (pos != -1) { 659 ED4_MostRecentWinContext context; 660 660 ED4_cursor *cursor = ¤t_cursor(); 661 661 cursor->jump_sequence_pos(pos, ED4_JUMP_CENTERED); -
branches/e4fix/EDIT4/ED4_plugins.cxx
r8274 r8307 53 53 void announce_current_species(const char *species_name) { 54 54 ED4_base *base = ED4_ROOT->main_manager->find_first_that(ED4_L_SEQUENCE_STRING, has_species_name, (AW_CL)species_name); 55 seq_term = base ->to_sequence_terminal();55 seq_term = base ? base->to_sequence_terminal() : NULL; 56 56 } 57 57
