Re: Keywords and Namesapces

new topic     » goto parent     » topic index » view thread      » older message » newer message

Since somebody has bothered to look at this thread again, I am posting one third of one on Matt's
WXRICHTEXTCTRL1.TXT

that one of the students converted. Notice the extra letter 1 has been added by him because he split it up in three sections.
The functions which start with a single * are the final version.

The lines with two stars (showing below as an empty circle) are the explanation for the additional integer parameter pertaining to that one new function.
Underneath are the three *
starred lines (showing as sold square in your software)which are the original functions, from which the new function was created.
I mentioned once before that we were planning to make all functions with results, and therefore the word "procedure" or "function" is not there. Some result is always returned for use by the next function as one parameter (if you wish to).

I am not interested in responding to the comments about my knowledge of C Plus or C Plus Plus or C Plus Plus Plus or C Plus Plus Plus Plus or C Plus.... ad infinatum. It is totally irrelevant.
The class has moved on to another low level language (Harbour) and minigui and also the QT GUI. So further feedback and discussion is not possible.

Please note that the following is only one third of that long list of functions in the original. The integer numbers were somewhat arbitrary, and I had asked for a better co-ordination between different sections.

Functions/Procedures

  • rtext_is (Link: #RTEXT_IS)( atom rich)
    • result 1=bold, 2=italic, 3= bold+italic, 4=underlined, 5=bold+underlined, 6= italic+underlined, 7= all three
      • is_selection_bold (Link: #IS_SELECTION_BOLD)( atom rich )
      • is_selection_italics (Link: #IS_SELECTION_ITALIC)( atom rich )
      • is_selection_underlined (Link: #IS_SELECTION_UNDERLINED)( atom rich )
  • rtext_apply (Link: #RTEXT_APPLY)( atom rich, integer rfont)
    • rfont: 1=bold, 2=italic, 3= bold+italic, 4=underlined, 5=bold+underlined, 6= italic+underlined, 7= all three
      • apply_bold_to_selection (Link: #APPLY_BOLD_TO_SELECTION)( atom rich )
      • apply_italic_to_selection (Link: #APPLY_ITALIC_TO_SELECTION)( atom rich )
      • apply_underline_to_selection (Link: #APPLY_UNDERLINE_TO_SELECTION)( atom rich )
  • rtext_begin (Link: #RTEXT_BEGIN)( atom rich, integer rfont)
    • rfont: 1=bold, 2=italic, 3= bold+italic, 4=underlined, 5=bold+underlined, 6= italic+underlined, 7= all three
      • begin_bold (Link: #BEGIN_BOLD)( atom rich )
      • begin_italic (Link: #BEGIN_ITALIC)( atom rich )
      • begin_underline (Link: #BEGIN_UNDERLINE)( atom rich )
  • rtext_end (Link: #RTEXT_END)( atom rich, integer rfont)
    • rfont: 1=bold, 2=italic, 3= bold+italic, 4=underlined, 5=bold+underlined, 6= italic+underlined, 7= all three
      • end_bold (Link: #END_BOLD)( atom rich )
      • end_italic (Link: #END_ITALIC)( atom rich )
      • end_underline (Link: #END_UNDERLINE)( atom rich )
  • rich_undo (Link: #RICH_UNDO)( atom rich, integer action )
    **action: 1=begin suppress, 2=suppressing, 3=end suppress, 12=batch, 13=end batch
      • begin_suppress_undo (Link: #BEGIN_SUPPRESS_UNDO)( atom rich )
      • suppressing_undo (Link: #SUPPRESSING_UNDO)( atom rich )
      • end_suppress_undo (Link: #END_SUPPRESS_UNDO)( atom rich )
      • batching_undo (Link: #BATCHING_UNDO)( atom rich )
      • end_batch_undo (Link: #END_BATCH_UNDO)( atom rich )
  • get_rich_style (Link: #GET_RICH_STYLE)( atom rich, integer which )
    • which: 1= get basic style, 2=get style sheet
      • get_basic_rich_style (Link: #GET_BASIC_RICH_STYLE)( atom rich )
      • get_rich_style_sheet (Link: #GET_RICH_STYLE_SHEET)( atom rich )
  • end_rich_styles (Link: #END_RICH_STYLES)( atom rich, integer which )
    • which: 0=all, 1=char, 2=list
      • end_all_rich_styles (Link: #END_ALL_RICH_STYLE)( atom rich )
      • end_char_style (Link: #END_CHAR_STYLE)( atom rich )
      • end_list_style (Link: #END_LIST_STYLE)( atom rich )
  • end_spacing (Link: #END_SPACING)( atom rich, integer spacing )
    • spacing: 0=end allignment, 1=left indent, 2=right indent, 3=line spacing, 4=para spacing
      • end_alignment (Link: #END_ALIGNMENT)( atom rich )
      • end_left_indent (Link: #END_LEFT_INDENT)( atom rich )
      • end_right_indent (Link: #END_RIGHT_INDENT)( atom rich )
      • end_line_spacing (Link: #END_LINE_SPACING)( atom rich )
      • end_paragraph_spacing (Link: #END_PARAGRAPH_SPACING)( atom rich )
  • end_rfont (Link: #END_RFONT)( atom rich, what )
    • what: 0=font, 1=size, 2=color
      • end_font (Link: #END_FONT)( atom rich )
      • end_font_size (Link: #END_FONT_SIZE)( atom rich )
      • end_text_color (Link: #END_TEXT_COLOR)( atom rich )
  • end_bullet (Link: #END_BULLET)( atom rich, integer bullet )
    • which: -1=symbol, 0=standard, 1=>0 = numbered bullet
      • end_symbol_bullet (Link: #END_SYMBOL_BULLET)( atom rich )
      • end_standard_bullet (Link: #END_STANDARD_BULLET)( atom rich )
      • end_numbered_bullet (Link: #END_NUMBERED_BULLET)( atom rich )
  • rich_misc (Link: #RICH_MISC)( atom rich, integer misc )
    • misc: 0=def to cursor style, 1=end url, 2=internal selection range, 3=selection range, 4=line break, 5=select none
      • set_default_style_to_cursor_style (Link: #SET_DEFAULT_STYLE_TO_CURSOR_STYLE)( atom rich )
      • end_url (Link: #END_URL)( atom rich )
      • get_rich_internal_selection_range (Link: #GET_RICH_INTERNAL_SELECTION_RANGE)( atom rich )
      • get_rich_selection_range (Link: #GET_RICH_SELECTION_RANGE)( atom rich )
      • line_break (Link: #LINE_BREAK)( atom rich )
      • select_none (Link: #SELECT_NONE)( atom rich )
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu