Show
Ignore:
Timestamp:
14/08/09 16:29:27 (3 years ago)
Author:
westram
Message:
  • spellchecked all (phew)
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/EDIT4/ED4_no_class.cxx

    r6124 r6141  
    302302 
    303303    if (terminal->is_sequence_terminal()) { 
    304         work_info->mode        = awar_edit_modus; 
     304        work_info->mode        = awar_edit_mode; 
    305305        work_info->direction   = awar_edit_direction; 
    306306        work_info->is_sequence = 1; 
     
    311311 
    312312        if (terminal->is_pure_text_terminal()) { 
    313             work_info->mode = awar_edit_modus;  // AD_INSERT; // why is AD_INSERT forced here ? 
     313            work_info->mode = awar_edit_mode;  // AD_INSERT; // why is AD_INSERT forced here ? 
    314314        } 
    315315        else if (terminal->is_columnStat_terminal()) { 
     
    511511        - (rect.r - x); // minus width of visible scroll-area (== relative width of horizontal scrollbar) 
    512512 
    513     if (max_xpos<0) max_xpos = 0; // happens when window-content is smaller then window (e.g. if ARB_EDIT4 is not filled) 
     513    if (max_xpos<0) max_xpos = 0; // happens when window-content is smaller than window (e.g. if ARB_EDIT4 is not filled) 
    514514    return int(max_xpos+0.5); 
    515515} 
     
    526526        - (rect.b - y); // minus width of visible scroll-area (== relative width of horizontal scrollbar) 
    527527 
    528     if (max_ypos<0) max_ypos = 0; // happens when window-content is smaller then window (e.g. if ARB_EDIT4 is not filled) 
     528    if (max_ypos<0) max_ypos = 0; // happens when window-content is smaller than window (e.g. if ARB_EDIT4 is not filled) 
    529529    return int(max_ypos+0.5); 
    530530} 
     
    542542    int old_slider_pos = win->slider_pos_vertical; 
    543543 
    544     { // correct slider_pos if neccessary 
     544    { // correct slider_pos if necessary 
    545545        int max_slider_ypos = get_max_slider_ypos(); 
    546546 
     
    573573    int old_slider_pos = win->slider_pos_horizontal; 
    574574 
    575     { // correct slider_pos if neccessary 
     575    { // correct slider_pos if necessary 
    576576        int max_slider_xpos = get_max_slider_xpos(); 
    577577 
     
    606606    int old_vslider_pos = win->slider_pos_vertical; 
    607607 
    608     { // correct slider_pos if neccessary 
     608    { // correct slider_pos if necessary 
    609609        int max_slider_xpos = get_max_slider_xpos(); 
    610610        int max_slider_ypos = get_max_slider_ypos(); 
     
    896896    if (mainman) { // avoids a crash durin startup 
    897897        if (mainman->update_info.delete_requested) { 
    898             mainman->delete_requested_childs(); 
     898            mainman->delete_requested_children(); 
    899899        } 
    900900 
     
    13661366} 
    13671367 
    1368 static long ED4_get_edit_modus(AW_root *root) 
     1368static long ED4_get_edit_mode(AW_root *root) 
    13691369{ 
    13701370    if (!root->awar(AWAR_EDIT_MODE)->read_int()) { 
     
    13761376void ed4_changesecurity(AW_root *root, AW_CL /*cd1*/) 
    13771377{ 
    1378     long mode = ED4_get_edit_modus(root); 
     1378    long mode = ED4_get_edit_mode(root); 
    13791379    long level; 
    13801380    const char *awar_name = 0; 
     
    13951395void ed4_change_edit_mode(AW_root *root, AW_CL cd1) 
    13961396{ 
    1397     awar_edit_modus = (ad_edit_modus)ED4_get_edit_modus(root); 
     1397    awar_edit_mode = (ad_edit_mode)ED4_get_edit_mode(root); 
    13981398    ed4_changesecurity(root, cd1); 
    13991399} 
     
    14201420    ED4_window *new_window = 0; 
    14211421     
    1422     if (ED4_ROOT->generate_window( &device, &new_window) == ED4_R_BREAK) // don't open more then five windows 
     1422    if (ED4_ROOT->generate_window( &device, &new_window) == ED4_R_BREAK) // don't open more than five windows 
    14231423        return; 
    14241424