'Required:
nothing
Returns
Nothing
Logic:
Method for writing inline when text is found.
Only write those groups that are "waiting", or that have no
tags yet.
First, slice the list self.__inline list to get just the groups
in waiting.
Iterate through this slice, which contains only dictionaries.
Get the keys in each dictionary. If \'font-style\' is in the keys,
write a marker tag. (I will use this marker tag later when conerting
hext text to utf8.)
Write a tag for the inline values.'

def __write_inline(self):

    if (self.__groups_in_waiting[0] != 0):
        last_index = ((-1) * self.__groups_in_waiting[0])
        inline_list = self.__inline_list[last_index:]
        if (len(inline_list) <= 0):
            if (self.__run_level > 3):
                msg = ('self.__inline_list    is    %s\n' % self.__inline_list)
                raise self.__bug_handler, msg
            self.__write_obj.write('error\n')
            self.__groups_in_waiting[0] = 0
            return
        for the_dict in inline_list:
            if the_dict['contains_inline']:
                the_keys = the_dict.keys()
                if ('font-style' in the_keys):
                    face = the_dict['font-style']
                    self.__write_obj.write(('mi<mk<font______<%s\n' % face))
                if ('caps' in the_keys):
                    value = the_dict['caps']
                    self.__write_obj.write(('mi<mk<caps______<%s\n' % value))
                self.__write_obj.write('mi<tg<open-att__<inline')
                for the_key in the_keys:
                    if (the_key != 'contains_inline'):
                        self.__write_obj.write(('<%s>%s' % (the_key, the_dict[the_key])))
                self.__write_obj.write('\n')
    self.__groups_in_waiting[0] = 0
