Ignore:
Timestamp:
04/17/14 10:49:43 (10 years ago)
Author:
pinsard
Message:

fix thanks to coding rules; typo; dupe empty lines; trailing blanks

Location:
trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_bgroup.pro

    r327 r495  
    5353end 
    5454 
    55  
    56  
    5755;+ 
    5856; @file_comments 
     
    6260; 
    6361; @param ID 
    64 ; 
    6562; 
    6663; @param VALUE 
     
    167164  endelse 
    168165end 
    169  
    170  
    171  
    172  
    173166; 
    174167;+ 
     
    379372  IF (N_ELEMENTS(y_scroll_size) eq 0)   then y_scroll_size = 0 
    380373 
    381  
    382  
    383  
    384374  top_base = 0L 
    385375  if (n_elements(label_top) ne 0) then begin 
     
    424414    EVENT_FUNC='CW_BGROUP_EVENT', $ 
    425415    UVALUE=WIDGET_INFO(top_base, /child)) 
    426  
    427416 
    428417  n = n_elements(names) 
  • trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_calendar.pro

    r371 r495  
    3535;    return 
    3636; END 
    37 ; 
    38 ; 
    3937;+ 
    4038; 
     
    7270  widget_control, winfo_id, get_uvalue = infowid 
    7371  key_caltype = infowid.caltype 
    74 ; high freqeuncy calendar 
     72; high frequency calendar 
    7573  IF keyword_set(infowid.fakecal) THEN BEGIN 
    7674    value2 = date2jul(long(value)) - infowid.fakecal 
     
    104102; @file_comments 
    105103; 
    106 ; 
    107104; @categories 
    108105; Compound widget 
    109106; 
    110107; @param ID 
    111 ; 
    112108; 
    113109; @returns 
     
    137133; @file_comments 
    138134; 
    139 ; 
    140135; @categories 
    141136; Compound widget 
     
    143138; @param ID 
    144139; 
    145 ; 
    146140; @param WINFOID 
    147 ; 
    148141; 
    149142; @returns 
     
    182175    month = (where(allmonths EQ wid_value.combobox_gettext))[0] + 1 
    183176    date = date + 100L * long(month) 
    184   ENDIF ELSE date = date + (oldate MOD 10000L)/100L*100L 
     177  ENDIF ELSE date = date + (oldate MOD 10000L)/ 100L * 100L 
    185178;-------------year---------------- 
    186179  wid_id = widget_info(id, find_by_uname = 'year') 
     
    198191;+ 
    199192; @file_comments 
    200 ; 
    201193; 
    202194; @categories 
     
    300292; @file_comments 
    301293; 
    302 ; 
    303294; @categories 
    304295; Compound widget 
     
    306297; @param EVENT 
    307298; 
    308 ; 
    309299; @param CASENAME 
    310 ; 
    311300; 
    312301; @returns 
     
    359348; 
    360349; @param EVENT 
    361 ; 
    362350; 
    363351; @returns 
     
    424412; @file_comments 
    425413; 
    426 ; 
    427414; @categories 
    428415; Compound widget 
     
    433420; @param CALENDAR 
    434421; 
    435 ; 
    436422; @param JDATE0 
    437423; 
     
    440426; @keyword FAKECAL 
    441427; 
    442 ; 
    443428; @keyword UVALUE 
    444429; 
    445430; @keyword UNAME 
    446 ; 
    447431; 
    448432; @keyword _EXTRA 
     
    524508      monthindex = where(yearcal EQ year0) 
    525509      currentmonth = long(monthcal[monthindex]) 
    526 ; we suppress the repeted months 
     510; we suppress the repeated months 
    527511      monthindexbis = uniq(currentmonth, sort(currentmonth)) 
    528512      monthindex = monthindex[monthindexbis] 
  • trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_domain.pro

    r493 r495  
    3737; end 
    3838; 
    39 ; 
    4039;+ 
    4140; 
     
    4645; 
    4746; @param ID 
    48 ; 
    4947; 
    5048; @param VALUE 
     
    516514;   5 elements: The extraction is made on [Boxzoom[0:3], 0, Boxzoom[4]] 
    517515;   6 elements: The extraction is made on Boxzoom 
    518 ; Where lon1, lon2,lat1,lat2 are global variables defined at the last  
     516; Where lon1, lon2,lat1,lat2 are global variables defined at the last 
    519517; <pro>domdef</pro>! 
    520518; 
     
    541539FUNCTION cw_domain, parent, BOXZOOM=boxzoom, STRICT=strict $ 
    542540                  , UVALUE=uvalue, UNAME=uname, UNZOOM=unzoom, _EXTRA=ex 
    543 ; 
    544541; 
    545542  compile_opt idl2, strictarrsubs 
  • trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_slide_slice.pro

    r327 r495  
    116116 
    117117;   widget_control, uniteid, get_value = unite 
    118 ; 
    119118; 
    120119;    if uval.name EQ 'unite' then begin 
     
    162161; @file_comments 
    163162; 
    164 ; 
    165163; @categories 
    166164; Compound widget 
     
    177175;   5 elements: The extraction is made on [Boxzoom[0:3], 0, Boxzoom[4]] 
    178176;   6 elements: The extraction is made on Boxzoom 
    179 ; Where lon1, lon2,lat1,lat2 are global variables defined at the last  
     177; Where lon1, lon2,lat1,lat2 are global variables defined at the last 
    180178; <pro>domdef</pro> ! 
    181179; 
  • trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_slider_pm.pro

    r327 r495  
    145145; @file_comments 
    146146; 
    147 ; 
    148147; @categories 
    149148; Compound widget 
     
    210209  IF uval EQ 'decimal' THEN value = float(event.str) $ 
    211210  ELSE value = float(widget_info(dcid, /combobox_gettext)) 
    212   out = 0 ; defaut case 
     211  out = 0 ; default case 
    213212  case uval OF 
    214213    'plus': if (value + 1) LE minmax[1] then value2 = value + 1 ELSE out = 1 
     
    320319;            slider widget. 
    321320; 
    322 ; 
    323321; @examples 
    324322; See the program provided above (testwid and the associated procedure, testwid_event). 
  • trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_specifie.pro

    r327 r495  
    249249   rien = widget_text(base2, value = colvalue, /editable, xsize = 2, uname = 'palnum', uvalue = 'palnum') 
    250250 
    251  
    252  
    253251; widget text containing other keywords pass into top_uvalue.exextra 
    254252; Does it remain some? If yes, we have to put them as string 
Note: See TracChangeset for help on using the changeset viewer.