Index: trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_slider_pm.pro
===================================================================
--- trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_slider_pm.pro	(revision 163)
+++ trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_slider_pm.pro	(revision 226)
@@ -6,17 +6,17 @@
 ;    case uval of
 ;       'done':widget_control, event.top, /destroy
-;       'slider_min':BEGIN 
+;       'slider_min':BEGIN
 ;          widget_control, event.id, get_value = value
 ;          widget_control, SliderBarId, set_value = {slider_min:value}
 ;       END
-;       'slider_max':BEGIN 
+;       'slider_max':BEGIN
 ;          widget_control, event.id, get_value = value
 ;          widget_control, SliderBarId, set_value = {slider_max:value}
 ;       END
-;       'slider_value':BEGIN 
+;       'slider_value':BEGIN
 ;          widget_control, event.id, get_value = value
 ;          widget_control, SliderBarId, set_value = value
 ;       END
-;       'get':BEGIN 
+;       'get':BEGIN
 ;          widget_control, SliderBarId, get_value = value
 ;          help,  value, /struct
@@ -57,19 +57,14 @@
 ;
 ; @returns
-; 
-; 
+;
 ; @uses
-; 
-; 
-; @restrictions
-; 
-; 
-; @examples
-; 
-; 
-; @history
-; 
-; 
-; @version 
+;
+; @restrictions
+;
+; @examples
+;
+; @history
+;
+; @version
 ; $Id$
 ;-
@@ -93,19 +88,14 @@
 ;
 ; @returns
-; 
-; 
+;
 ; @uses
-; 
-; 
-; @restrictions
-; 
-; 
-; @examples
-; 
-; 
-; @history
-; 
-; 
-; @version 
+;
+; @restrictions
+;
+; @examples
+;
+; @history
+;
+; @version
 ; $Id$
 ;-
@@ -124,7 +114,6 @@
 ; @categories
 ; Compound widget
-; 
+;
 ; @param ID
-;
 ;
 ; @param VALUE
@@ -132,19 +121,14 @@
 ;
 ; @returns
-; 
-; 
+;
 ; @uses
-; 
-; 
-; @restrictions
-; 
-; 
-; @examples
-; 
-; 
-; @history
-; 
-; 
-; @version 
+;
+; @restrictions
+;
+; @examples
+;
+; @history
+;
+; @version
 ; $Id$
 ;-
@@ -161,5 +145,5 @@
       case strtrim(strlowcase(tagnames[tag]), 2) of
         'slider_min':BEGIN
-;          IF float(value.slider_min[0]) LT minmax[1] THEN BEGIN 
+;          IF float(value.slider_min[0]) LT minmax[1] THEN BEGIN
             minmax[0] = value.slider_min[0]
             widget_control, sbid, set_slider_min = floor(float(value.slider_min[0]))
@@ -169,9 +153,9 @@
               widget_control, dcid, set_value = decvalue(value.slider_min)
               widget_control, dcid, set_combobox_select = decind(value.slider_min)
-            ENDIF 
-;          ENDIF 
+            ENDIF
+;          ENDIF
         end
         'slider_max':BEGIN
-;          IF float(value.slider_max[0]) GT minmax[0] THEN BEGIN 
+;          IF float(value.slider_max[0]) GT minmax[0] THEN BEGIN
             minmax[1] = value.slider_max[0]
             widget_control, sbid, set_slider_max = ceil(float(value.slider_max[0]))
@@ -181,6 +165,6 @@
               widget_control, dcid, set_value = decvalue(value.slider_max)
               widget_control, dcid, set_combobox_select = decind(value.slider_max)
-            ENDIF 
-;          ENDIF 
+            ENDIF
+;          ENDIF
         end
         'value':IF float(value.value[0]) GE minmax[0] $
@@ -189,13 +173,13 @@
       endcase
     endfor
-  ENDIF ELSE BEGIN 
+  ENDIF ELSE BEGIN
     IF float(value[0]) GE minmax[0] $
       AND float(value[0]) LE minmax[1] THEN value2 = float(value[0])
   ENDELSE
-  IF n_elements(value2) NE 0 THEN BEGIN 
+  IF n_elements(value2) NE 0 THEN BEGIN
     widget_control, sbid, set_value = fix(value2)
     widget_control, dcid, set_value = decvalue(value2)
     widget_control, dcid, set_combobox_select = decind(value2)
-  ENDIF 
+  ENDIF
   return
 end
@@ -206,25 +190,19 @@
 ;
 ; @categories
-; Compound widget 
-; 
+; Compound widget
+;
 ; @param ID
 ;
-;
-; @returns
-; 
-; 
+; @returns
+;
 ; @uses
-; 
-; 
-; @restrictions
-; 
-; 
-; @examples
-; 
-; 
-; @history
-; 
-; 
-; @version 
+;
+; @restrictions
+;
+; @examples
+;
+; @history
+;
+; @version
 ; $Id$
 ;-
@@ -246,24 +224,18 @@
 ; @categories
 ; Compound widget
-; 
+;
 ; @param EVENT
-; 
-;
-; @returns
-; 
-; 
+;
+; @returns
+;
 ; @uses
-; 
-; 
-; @restrictions
-; 
-; 
-; @examples
-; 
-; 
-; @history
-; 
-; 
-; @version 
+;
+; @restrictions
+;
+; @examples
+;
+; @history
+;
+; @version
 ; $Id$
 ;-
@@ -284,5 +256,5 @@
     'minus':if (value - 1) GE minmax[0] then value2 = value - 1 ELSE out = -1
     'SliderBar':if (event.value + value - floor(value)) LE minmax[1] THEN value2 = event.value + value - floor(value)
-    'decimal':BEGIN 
+    'decimal':BEGIN
       CASE 1 OF
         value GT minmax[1]: value2 = minmax[1]
@@ -313,5 +285,5 @@
 ; @categories
 ; Compound widget
-; 
+;
 ; @param PARENT {in}{required}
 ; The widget ID of the parent widget.
@@ -319,17 +291,15 @@
 ; @keyword UVALUE
 ; The user value to be associated with the widget.
-; 
+;
 ; @keyword UNAME
 ; The user name to be associated with the widget.
-; 
+;
 ; @keyword VALUE
 ;
-;
 ; @keyword MAXIMUM
-; 
-; 
+;
 ; @keyword MINIMUM
 ;
-; 
+;
 ; @keyword STRMINLEN
 ;
@@ -365,5 +335,5 @@
 ;  computationally expensive operations until the user releases the
 ;  slider.
-;  OUT:It is an integer which can take 3 values: 
+;  OUT:It is an integer which can take 3 values:
 ;       1 : If we press + when the index is already at the max
 ;       Comment: In this case, the index stay at the max
@@ -378,6 +348,6 @@
 ;       1) GET_VALUE
 ;   widget_control,wid_id,get_value=resultat
-;   Send back in the result variable a structure of 2 elements whose name 
-;   are inspired from keywords we can pass at 
+;   Send back in the result variable a structure of 2 elements whose name
+;   are inspired from keywords we can pass at
 ;   widget_control when we use WIDGET_SLIDER:
 ;            VALUE:the value setting of the widget
@@ -386,8 +356,8 @@
 ;       2) SET_VALUE
 ;   widget_control,wid_id,set_value=impose
-;   Allows to modify the state of the combobox like we can do it for 
-;   WIDGET_COMBOBOX. May impose:  
+;   Allows to modify the state of the combobox like we can do it for
+;   WIDGET_COMBOBOX. May impose:
 ;       a) a integer: give the new position of the slider.
-;       b) A structure which can have for elements (from 1 to 3): 
+;       b) A structure which can have for elements (from 1 to 3):
 ;            VALUE: an integer which give the new position of the slider
 ;            SLIDER_MIN:Set to a new minimum value for the specified
@@ -428,7 +398,7 @@
   if NOT keyword_set(title) then title = '    '
 ;
-; cheking exclusive keywords
+; checking exclusive keywords
   column = (keyword_set(column)*(1-keyword_set(row))+keyword_set(vertical)) < 1
-  row = keyword_set(row)*(1-keyword_set(column)) +(keyword_set(row) EQ column) 
+  row = keyword_set(row)*(1-keyword_set(column)) +(keyword_set(row) EQ column)
   if NOT keyword_set(uvalue) then uvalue = ''
   if NOT keyword_set(uname) then uname = ''
@@ -437,5 +407,5 @@
                      , FUNC_GET_VALUE = 'cw_slider_pm_get_value' $
                      , PRO_SET_VALUE = 'cw_slider_pm_set_value' $
-                     , space = 0, UVALUE = uvalue, UNAME = uname, _extra = ex)   
+                     , space = 0, UVALUE = uvalue, UNAME = uname, _extra = ex)
 ;
   mlen = (widget_info(base, string_size = 'm'))[0]
