Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b24e84c

Browse files
committed
clean up some markup
1 parent 7a55642 commit b24e84c

1 file changed

Lines changed: 16 additions & 15 deletions

File tree

Doc/mac/libmacui.tex

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ \section{\module{EasyDialogs} ---
1515
The \module{EasyDialogs} module defines the following functions:
1616

1717

18-
\begin{funcdesc}{Message}{str\optional{, id\optional{, ok=None}}}
18+
\begin{funcdesc}{Message}{str\optional{, id\optional{, ok}}}
1919
Displays a modal dialog with the message text \var{str}, which should be
2020
at most 255 characters long. The button text defaults to ``OK'', but is
2121
set to the string argument \var{ok} if the latter is supplied. Control
@@ -30,8 +30,8 @@ \section{\module{EasyDialogs} ---
3030
initial value for the string (otherwise \code{""} is used). The text of
3131
the ``OK'' and ``Cancel'' buttons can be changed with the \var{ok} and
3232
\var{cancel} arguments. All strings can be at most 255 bytes long.
33-
\function{AskString()} returns the string entered or \code{None} in case
34-
the user cancelled.
33+
\function{AskString()} returns the string entered or \constant{None}
34+
in case the user cancelled.
3535
\end{funcdesc}
3636

3737

@@ -128,23 +128,23 @@ \section{\module{EasyDialogs} ---
128128
\optional{, wanted}
129129
}
130130
Post a dialog asking the user for a file to open, and return the file
131-
selected or \var{None} if the user cancelled.
131+
selected or \constant{None} if the user cancelled.
132132
\var{message} is a text message to display,
133133
\var{typeList} is a list of 4-char filetypes allowable,
134-
\var{defaultLocation} is the pathname, FSSpec or FSRef of the folder
135-
to show initially,
134+
\var{defaultLocation} is the pathname, \class{FSSpec} or \class{FSRef}
135+
of the folder to show initially,
136136
\var{location} is the \code{(x, y)} position on the screen where the
137137
dialog is shown,
138138
\var{actionButtonLabel} is a string to show in stead of ``Open'' in the
139139
OK button,
140140
\var{cancelButtonLabel} is a string to show in stead of ``Cancel'' in the
141141
cancel button,
142-
\var{wanted} is the type of value wanted as a return: \class{string},
142+
\var{wanted} is the type of value wanted as a return: \class{str},
143143
\class{unicode}, \class{FSSpec}, \class{FSRef} and subtypes thereof are
144144
acceptable.
145145

146146
For a description of the other arguments please see the Apple Navigation
147-
Services documentation and the EasyDialogs sourcecode.
147+
Services documentation and the \module{EasyDialogs} source code.
148148
\end{funcdesc}
149149

150150
\begin{funcdesc}{AskFileForSave}{
@@ -164,10 +164,11 @@ \section{\module{EasyDialogs} ---
164164
\optional{, eventProc}
165165
\optional{, wanted}
166166
}
167-
Post a dialog asking the user for a file to save to, and return the file
168-
selected or \var{None} if the user cancelled. \var{savedFileName} is the
169-
default for the file name to save to (the return value). See AskFileForOpen
170-
for a description of the other arguments.
167+
Post a dialog asking the user for a file to save to, and return the
168+
file selected or \constant{None} if the user cancelled.
169+
\var{savedFileName} is the default for the file name to save to (the
170+
return value). See \function{AskFileForOpen()} for a description of
171+
the other arguments.
171172
\end{funcdesc}
172173

173174
\begin{funcdesc}{AskFolder}{
@@ -185,9 +186,9 @@ \section{\module{EasyDialogs} ---
185186
\optional{, filterProc}
186187
\optional{, wanted}
187188
}
188-
Post a dialog asking the user to select a folder, and return the folder
189-
selected or \var{None} if the user cancelled. See AskFileForOpen
190-
for a description of the arguments.
189+
Post a dialog asking the user to select a folder, and return the
190+
folder selected or \constant{None} if the user cancelled. See
191+
\function{AskFileForOpen()} for a description of the arguments.
191192
\end{funcdesc}
192193

193194
\subsection{ProgressBar Objects \label{progressbar-objects}}

0 commit comments

Comments
 (0)