Hello, i've create an auto-complete plugin for Notepad++ (both ver 4.9 and 5.0- api & xml extension) .After created plugin, i put its into plugins folder and restart Notepad++. But it doesnt work , Language Menu didnot list my plugin, i don't understand why. Please help me. Thank you.
I'm struggling with this same feature - It'd be useful for the help to give us access tot eh XML schema, and a few more examples - I've cribbed a lot from the PHP XML definition, but doesn't seem to work...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Function name should be without parens. Besides I guess since version 5 npp eats only XML API files. Check out most current PHP API file for better understanding. I don't think your xml file is alright. All function names must be presorted.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, i've create an auto-complete plugin for Notepad++ (both ver 4.9 and 5.0- api & xml extension) .After created plugin, i put its into plugins folder and restart Notepad++. But it doesnt work , Language Menu didnot list my plugin, i don't understand why. Please help me. Thank you.
this is my api file:
[code]
$this->benchmark->mark('benchmark_name');
$this->benchmark->elapsed_time('start', 'end');
$this->benchmark->memory_usage();
$this->benchmark->mark('start');
$this->benchmark->mark('end');
$this->benchmark->elapsed_time('start', 'end');
$this->load->library('calendar');
$this->calendar->initialize($array_name);
$this->calendar->generate(year, month, data);
$this->calendar->adjust_date(month, year);
$this->calendar->get_day_names();
$this->calendar->get_month_name(month);
$this->calendar->get_total_days(month, year);
$this->calendar->default_template();
$this->calendar->parse_template();
$this->config->load(file, use_sections, fail_gracefully);
$this->config->item(item, index);
$this->config->set_item('item_name', item_value);
$this->config->site_url(uri);
$this->config->system_url();
$this->config->slash_item(item, value);
$this->load->library('email');
$this->email->initialize(config);
$this->email->from(you@your-site.com, Your Name);
$this->email->reply_to(you@your-site.com, Your Name);
$this->email->to(email_address);
$this->email->cc(email_address);
$this->email->subject(subject);
$this->email->message(body);
$this->email->set_alt_message(alternative_message);
$this->email->clear();
$this->email->send();
$this->email->attach(filename);
$this->email->print_debugger();
$this->email->set_mailtype(text);
$this->email->set_wordwrap(TRUE);
$this->load->library('encrypt');
$this->encrypt->encode(text);
$this->encrypt->decode(text);
$this->encrypt->set_cipher('MCRYPT_BLOWFISH');
$this->encrypt->set_mode('MCRYPT_MODE_CFB');
$this->encrypt->sha1('message');
$this->load->library('upload');
$this->upload->initialize(:1config});
$this->upload->do_upload();
$this->upload->display_errors();
$this->upload->data();
$this->load->library('ftp');
$this->ftp->connect();
$this->ftp->upload('/local/path/to/myfile.html', '/public_html/myfile.html', 'auto');
$this->ftp->rename('original_name', 'new_name');
$this->ftp->move('original_file_path', 'new_file_path');
$this->ftp->delete_file('file_path');
$this->ftp->delete_file('file_dir');
$this->ftp->list_files('directory_path');
$this->ftp->mirror('local_folder_path', 'local_folder_path');
$this->ftp->mkdir('directory_path', directory_path);
$this->ftp->chmod('directory/file_path', permission_code);
$this->ftp->close();
$this->load->library('table');
$this->table->generate();
$this->table->set_caption();
$this->table->set_heading();
$this->table->add_row();
$this->table->make_columns();
$this->table->set_template();
$this->table->set_empty(" ");
$this->table->clear();
$this->load->library('image_lib');
$this->image_lib->initialize();
$this->image_lib->resize();
$this->image_lib->crop();
$this->image_lib->rotate();
$this->image_lib->watermark();
$this->image_lib->display_errors();
$config['image_library'] = 'GD';
$config['library_path'] = 'library_path';
$config['source_image'] = 'image_path';
$config['dynamic_output'] = 'FALSE';
$config['quality'] = '90%';
$config['new_image'] = 'image_path';
$config['width'] = 'width';
$config['height'] = 'heigth';
$config['create_thumb'] = 'FALSE';
$config['thumb_marker'] = '_thumb';
$config['maintain_ratio'] = 'TRUE';
$config['master_dim'] = 'auto';
$config['rotation_angle'] = 'angle';
$config['x_axis'] = '0';
$config['y_axis'] = '0';
$this->load->library('library_name');
$this->load->view('view_name', $data_array);
$this->load->model(model_name, usage_name, autoload);
$this->load->file('filepath/filename');
$this->load->config('config_name');
$this->load->plugin('plugin_name');
$this->load->helper('helper_name');
$this->load->scaffolding('table_name');
$this->load->database();
$this->load->dbforge();
$this->load->lang('lang_name');
$this->load->vars($array_name);
$this->input->xss_clean();
$this->input->post('name',TRUE);
$this->input->get('name',TRUE);
$this->input->get_post('name',TRUE);
$this->input->cookie('name');
$this->input->server('name');
$this->input->ip_address();
$this->input->valid_ip();
$this->input->user_agent();
$this->lang->load('filename', 'language');
$this->lang->line('language_key');
$this->output->set_output();
$this->output->get_output();
$this->output->set_header("header_info");
$this->output->enable_profiler("TRUE/FALSE");
$this->load->library('pagination');
$this->pagination->initialize();
$this->pagination->create_links();
$config['num_tag_close'] = '</div>';
$config['num_tag_open'] = '<div>';
$config['cur_tag_close'] = '</b>';
$config['cur_tag_open'] = '<b>';
$config['next_tag_close'] = '</tag>';
$config['next_tag_open'] = '<tag>';
$config['next_link'] = '>';
$config['prev_tag_close'] = '</tag>';
$config['prev_tag_open'] = '<tag>';
$config['prev_link'] = '<';
$config['last_tag_close'] = '</tag>';
$config['last_tag_open'] = '<tag>';
$config['last_link'] = 'Last';
$config['first_tag_close'] = '</tag>';
$config['first_tag_open'] = '<tag>';
$config['first_link'] = 'First';
$config['full_tag_close'] = '</tag>';
$config['full_tag_open'] = '<tag>';
$config['num_links'] = number_links;
$config['uri_segment'] = segment;
$this->load->library('session');
$this->session->userdata('item');
$this->session->set_userdata(name, value);
$this->session->unset_userdata(name);
$this->session->sess_destroy();
$this->session->flashdata('item');
$this->session->set_flashdata(name, value);
$this->session->keep_flashdata('item');
$this->load->library('trackback');
$this->trackback->send();
$this->trackback->display_errors();
$this->trackback->receive();
$this->trackback->send_error(':1Error Message}');
$this->trackback->send_success();
$this->load->library('parser');
$this->parser->parse('template_path', , FALSE);
$this->load->library('unit_test');
$this->unit->run(, , 'test_name');
$this->unit->run(, 'is_string', 'test_name');
$this->unit->run(, 'is_bool', 'test_name');
$this->unit->run(, 'is_true', 'test_name');
$this->unit->run(, 'is_false', 'test_name');
$this->unit->run(, 'is_int', 'test_name');
$this->unit->run(, 'is_numeric', 'test_name');
$this->unit->run(, 'is_float', 'test_name');
$this->unit->run(, 'is_double', 'test_name');
$this->unit->run(, 'is_array', 'test_name');
$this->unit->run(, 'is_null', 'test_name');
$this->unit->report();
$this->unit->result();
$this->unit->use_strict(TRUE);
$this->unit->active(FALSE);
$this->unit->set_template(template_name);
$this->uri->segment(number);
$this->uri->rsegment(number);
$this->uri->slash_segment(number);
$this->uri->slash_rsegment(number);
$this->uri->uri_to_assoc(number);
$this->uri->ruri_to_assoc(number);
$this->uri->assoc_to_uri(data_array);
$this->uri->uri_string();
$this->uri->ruri_string();
$this->uri->total_segments();
$this->uri->total_segments();
$this->uri->segment_array();
$this->uri->rsegment_array();
$this->load->library('user_agent');
$this->agent->is_browser();
$this->agent->is_mobile();
$this->agent->is_robot();
$this->agent->is_referral();
$this->agent->browser();
$this->agent->version();
$this->agent->mobile();
$this->agent->robot();
$this->agent->platform();
$this->agent->referrer();
$this->agent->agent_string();
$this->agent->accept_lang('en');
$this->agent->accept_charset('utf-8');
$this->load->library('validation');
$this->validation->set_rules();
$this->validation->set_fields();
$this->validation->run();
$fields['field name'] = 'value';
$this->validation->set_select('name', 'value');
$this->validation->set_checkbox('name', value);
$this->validation->set_radio('name', value);
$this->validation->set_message('rule_name', 'Error Message');
$this->validation->required('value');
$this->validation->set_error_delimiters('<div class="error">', '</div>');
$this->validation->error_string();
$this->load->library('xmlrpc');
$this->load->library('xmlrpcs');
$this->xmlrpc->server('http://rpc.pingomatic.com/', 80);
$this->xmlrpc->timeout(seconds);
$this->xmlrpc->method('method_name');
$this->xmlrpc->request('');
$this->xmlrpc->send_request();
$this->xmlrpc->set_debug(TRUE);
$this->xmlrpc->display_error();
$this->xmlrpc->display_response();
$this->xmlrpc->send_error_message('Error Code', 'Error message');
$this->xmlrpc->send_response();
$this->xmlrpcs->initialize();
$this->xmlrpcs->serve();
$this->load->library('zip');
$this->zip->add_data(name, data);
$this->zip->add_dir(folder_path);
$this->zip->read_file(file_path);
$this->zip->read_dir(folder_path);
$this->zip->archive(output_path);
$this->zip->download(file_path);
$this-zip->get_zip();
$this-zip->clear_data();
$query = $this->db->get('table_name', limit, offset);
$query = $this->db->get_where('table_name', array, limit, offset);
$query = $this->db->from('table_name');
$query->result();
$query->result_array();
$query->row();
$query->row_array();
$query->first_row();
$query->last_row();
$query->next_row();
$query->previous_row();
$query->num_rows();
$query->num_fields();
$query->free_result();
$this->db->select('fields, to, select');
$this->db->select_max('field', 'rename_to');
$this->db->select_min('field', 'rename_to');
$this->db->select_avg('field', 'rename_to');
$this->db->select_sum('field', 'rename_to');
$this->db->join('join_table_name', 'join_table_name.id = original_table.id', 'join_type');
$this->db->where(field, value);
$this->db->or_where(field, value);
$this->db->where_in(field, value);
$this->db->where_not_in(field, value);
$this->db->or_where_in(field, value);
$this->db->or_where_not_in(field, value);
$this->db->like(field, term, 'wildcard_position');
$this->db->or_like('field', $term);
$this->db->not_like(field, term, 'wildcard_position');
$this->db->or_not_like(field, term, 'wildcard_position');
$this->db->group_by(field);
$this->db->distinct();
$this->db->having(field, term);
$this->db->limit(number_of_rows);
$this->db->order_by(field, desc or asc);
$this->db->count_all('table_name');
$this->db->count_all_results();
$this->db->start_cache();
$this->db->stop_cache();
$this->db->flush_cache();
$this->db->insert('table_name', $array_name);
$this->db->insert_string('table_name', $data);
$this->db->set('table_name', $values);
$this->db->update('table_name', $array_name);
$this->db->update_string('table_name', $data, $where);
$this->db->delete('table_name', array('field', $value));
$this->db->cache_on();
$this->db->cache_off();
$this->db->cache_delete();
$this->db->cache_delete_all();
$this->db->insert_id();
$this->db->affected_rows();
$this->db->platform();
$this->db->version();
$this->db->last_query();
$this->db->query('YOUR QUERY HERE');
$this->db->simple_query('YOUR QUERY HERE');
$this->db->escape('text');
$this->db->escape_str('text');
$this->load->dbforge();
$this->db->list_tables();
$this->db->table_exists();
$this->dbutil->repair_table('table_name');
$this->dbutil->optimize_table('table_name');
$this->dbutil->list_databases();
$this->dbutil->optimize_database();
$this->dbutil->csv_from_result($db_result);
$this->dbutil->xml_from_result($db_result);
$this->dbutil->backup($backup_prefs);
$this->load->dbforge();
$this->dbforge->create_database('db_name');
$this->dbforge->drop_database('db_name');
$this->dbforge->add_key(field_name, TRUE);
$this->dbforge->add_field(field_name, TRUE);
$this->dbforge->add_column($fields);
$this->dbforge->modify_column($fields);
$this->dbforge->drop_column($fields);
$this->dbforge->create_table(table_name);
$this->dbforge->rename_table(old_name, new_name);
$this->dbforge->drop_table('table_name');
$this->db->trans_start();
$this->db->trans_complete();
$this->db->trans_status();
$this->db->trans_off();
$this->db->trans_begin();
$this->db->trans_rollback();
$this->db->trans_commit();
$this->load->model('name_model');
$this->load->model('name_model','name_model', TRUE);
$this->Model_name_model->property();
$this->Model_name_model->method(args);
show_error('Message');
show_404('Page');
log_message('error', 'Error message');
log_message('debug', 'Debug message');
log_message('info', 'Informational message');
[/code]
and XML file:
[code]
<?xml version="1.0" encoding="Windows-1252" ?>
<NotepadPlus>
<AutoComplete>
<KeyWord name="$this->benchmark->mark('benchmark_name');" func="yes" />
<KeyWord name="$this->benchmark->mark('benchmark_name');" func="yes" />
<KeyWord name="$this->benchmark->elapsed_time('start', 'end');" func="yes" />
<KeyWord name="$this->benchmark->memory_usage();" func="yes" />
<KeyWord name="$this->benchmark->mark('start');" func="yes" />
<KeyWord name="$this->benchmark->mark('end');" func="yes" />
<KeyWord name="$this->benchmark->elapsed_time('start', 'end');" func="yes" />
<KeyWord name="$this->load->library('calendar');" func="yes" />
<KeyWord name="$this->calendar->initialize($array_name);" func="yes" />
<KeyWord name="$this->calendar->generate(year, month, data);" func="yes" />
<KeyWord name="$this->calendar->adjust_date(month, year);" func="yes" />
<KeyWord name="$this->calendar->get_day_names();" func="yes" />
<KeyWord name="$this->calendar->get_month_name(month);" func="yes" />
<KeyWord name="$this->calendar->get_total_days(month, year);" func="yes" />
<KeyWord name="$this->calendar->default_template();" func="yes" />
<KeyWord name="$this->calendar->parse_template();" func="yes" />
<KeyWord name="$this->config->load(file, use_sections, fail_gracefully);" func="yes" />
<KeyWord name="$this->config->item(item, index);" func="yes" />
<KeyWord name="$this->config->set_item('item_name', item_value);" func="yes" />
<KeyWord name="$this->config->site_url(uri);" func="yes" />
<KeyWord name="$this->config->system_url();" func="yes" />
<KeyWord name="$this->config->slash_item(item, value);" func="yes" />
<KeyWord name="$this->load->library('email');" func="yes" />
<KeyWord name="$this->email->initialize(config);" func="yes" />
<KeyWord name="$this->email->from(you@your-site.com, Your Name);" func="yes" />
<KeyWord name="$this->email->reply_to(you@your-site.com, Your Name);" func="yes" />
<KeyWord name="$this->email->to(email_address);" func="yes" />
<KeyWord name="$this->email->cc(email_address);" func="yes" />
<KeyWord name="$this->email->subject(subject);" func="yes" />
<KeyWord name="$this->email->message(body);" func="yes" />
<KeyWord name="$this->email->set_alt_message(alternative_message);" func="yes" />
<KeyWord name="$this->email->clear();" func="yes" />
<KeyWord name="$this->email->send();" func="yes" />
<KeyWord name="$this->email->attach(filename);" func="yes" />
<KeyWord name="$this->email->print_debugger();" func="yes" />
<KeyWord name="$this->email->set_mailtype(text);" func="yes" />
<KeyWord name="$this->email->set_wordwrap(TRUE);" func="yes" />
<KeyWord name="$this->load->library('encrypt');" func="yes" />
<KeyWord name="$this->encrypt->encode(text);" func="yes" />
<KeyWord name="$this->encrypt->decode(text);" func="yes" />
<KeyWord name="$this->encrypt->set_cipher('MCRYPT_BLOWFISH');" func="yes" />
<KeyWord name="$this->encrypt->set_mode('MCRYPT_MODE_CFB');" func="yes" />
<KeyWord name="$this->encrypt->sha1('message');" func="yes" />
<KeyWord name="$this->load->library('upload');" func="yes" />
<KeyWord name="$this->upload->initialize(:1config});" func="yes" />
<KeyWord name="$this->upload->do_upload();" func="yes" />
<KeyWord name="$this->upload->display_errors();" func="yes" />
<KeyWord name="$this->upload->data();" func="yes" />
<KeyWord name="$this->load->library('ftp');" func="yes" />
<KeyWord name="$this->ftp->connect();" func="yes" />
<KeyWord name="$this->ftp->upload('/local/path/to/myfile.html', '/public_html/myfile.html', 'auto');" func="yes" />
<KeyWord name="$this->ftp->rename('original_name', 'new_name');" func="yes" />
<KeyWord name="$this->ftp->move('original_file_path', 'new_file_path');" func="yes" />
<KeyWord name="$this->ftp->delete_file('file_path');" func="yes" />
<KeyWord name="$this->ftp->delete_file('file_dir');" func="yes" />
<KeyWord name="$this->ftp->list_files('directory_path');" func="yes" />
<KeyWord name="$this->ftp->mirror('local_folder_path', 'local_folder_path');" func="yes" />
<KeyWord name="$this->ftp->mkdir('directory_path', directory_path);" func="yes" />
<KeyWord name="$this->ftp->chmod('directory/file_path', permission_code);" func="yes" />
<KeyWord name="$this->ftp->close();" func="yes" />
<KeyWord name="$this->load->library('table');" func="yes" />
<KeyWord name="$this->table->generate();" func="yes" />
<KeyWord name="$this->table->set_caption();" func="yes" />
<KeyWord name="$this->table->set_heading();" func="yes" />
<KeyWord name="$this->table->add_row();" func="yes" />
<KeyWord name="$this->table->make_columns();" func="yes" />
<KeyWord name="$this->table->set_template();" func="yes" />
<KeyWord name="$this->table->set_empty(" ");" func="yes" />
<KeyWord name="$this->table->clear();" func="yes" />
<KeyWord name="$this->load->library('image_lib');" func="yes" />
<KeyWord name="$this->image_lib->initialize();" func="yes" />
<KeyWord name="$this->image_lib->resize();" func="yes" />
<KeyWord name="$this->image_lib->crop();" func="yes" />
<KeyWord name="$this->image_lib->rotate();" func="yes" />
<KeyWord name="$this->image_lib->watermark();" func="yes" />
<KeyWord name="$this->image_lib->display_errors();" func="yes" />
<KeyWord name="$config['image_library'] = 'GD';" func="yes" />
<KeyWord name="$config['library_path'] = 'library_path';" func="yes" />
<KeyWord name="$config['source_image'] = 'image_path';" func="yes" />
<KeyWord name="$config['dynamic_output'] = 'FALSE';" func="yes" />
<KeyWord name="$config['quality'] = '90%';" func="yes" />
<KeyWord name="$config['new_image'] = 'image_path';" func="yes" />
<KeyWord name="$config['width'] = 'width';" func="yes" />
<KeyWord name="$config['height'] = 'heigth';" func="yes" />
<KeyWord name="$config['create_thumb'] = 'FALSE';" func="yes" />
<KeyWord name="$config['thumb_marker'] = '_thumb';" func="yes" />
<KeyWord name="$config['maintain_ratio'] = 'TRUE';" func="yes" />
<KeyWord name="$config['master_dim'] = 'auto';" func="yes" />
<KeyWord name="$config['rotation_angle'] = 'angle';" func="yes" />
<KeyWord name="$config['x_axis'] = '0';" func="yes" />
<KeyWord name="$config['y_axis'] = '0';" func="yes" />
<KeyWord name="$this->load->library('library_name');" func="yes" />
<KeyWord name="$this->load->view('view_name', $data_array);" func="yes" />
<KeyWord name="$this->load->model(model_name, usage_name, autoload);" func="yes" />
<KeyWord name="$this->load->file('filepath/filename');" func="yes" />
<KeyWord name="$this->load->config('config_name');" func="yes" />
<KeyWord name="$this->load->plugin('plugin_name');" func="yes" />
<KeyWord name="$this->load->helper('helper_name');" func="yes" />
<KeyWord name="$this->load->scaffolding('table_name');" func="yes" />
<KeyWord name="$this->load->database();" func="yes" />
<KeyWord name="$this->load->dbforge();" func="yes" />
<KeyWord name="$this->load->lang('lang_name');" func="yes" />
<KeyWord name="$this->load->vars($array_name);" func="yes" />
<KeyWord name="$this->input->xss_clean();" func="yes" />
<KeyWord name="$this->input->post('name',TRUE);" func="yes" />
<KeyWord name="$this->input->get('name',TRUE);" func="yes" />
<KeyWord name="$this->input->get_post('name',TRUE);" func="yes" />
<KeyWord name="$this->input->cookie('name');" func="yes" />
<KeyWord name="$this->input->server('name');" func="yes" />
<KeyWord name="$this->input->ip_address();" func="yes" />
<KeyWord name="$this->input->valid_ip();" func="yes" />
<KeyWord name="$this->input->user_agent();" func="yes" />
<KeyWord name="$this->lang->load('filename', 'language');" func="yes" />
<KeyWord name="$this->lang->line('language_key');" func="yes" />
<KeyWord name="$this->output->set_output();" func="yes" />
<KeyWord name="$this->output->get_output();" func="yes" />
<KeyWord name="$this->output->set_header('header_info'); " func="yes" />
<KeyWord name="$this->output->enable_profiler('TRUE/FALSE');" func="yes" />
<KeyWord name="$this->load->library('pagination');" func="yes" />
<KeyWord name="$this->pagination->initialize();" func="yes" />
<KeyWord name="$this->pagination->create_links();" func="yes" />
<KeyWord name="$config['num_tag_close'] = '</div>';" func="yes" />
<KeyWord name="$config['num_tag_open'] = '<div>';" func="yes" />
<KeyWord name="$config['cur_tag_close'] = '</b>';" func="yes" />
<KeyWord name="$config['cur_tag_open'] = '<b>';" func="yes" />
<KeyWord name="$config['next_tag_close'] = '</tag>';" func="yes" />
<KeyWord name="$config['next_tag_open'] = '<tag>';" func="yes" />
<KeyWord name="$config['next_link'] = '>';" func="yes" />
<KeyWord name="$config['prev_tag_close'] = '</tag>';" func="yes" />
<KeyWord name="$config['prev_tag_open'] = '<tag>';" func="yes" />
<KeyWord name="$config['prev_link'] = '<';" func="yes" />
<KeyWord name="$config['last_tag_close'] = '</tag>';" func="yes" />
<KeyWord name="$config['last_tag_open'] = '<tag>';" func="yes" />
<KeyWord name="$config['last_link'] = 'Last';" func="yes" />
<KeyWord name="$config['first_tag_close'] = '</tag>';" func="yes" />
<KeyWord name="$config['first_tag_open'] = '<tag>';" func="yes" />
<KeyWord name="$config['first_link'] = 'First';" func="yes" />
<KeyWord name="$config['full_tag_close'] = '</tag>';" func="yes" />
<KeyWord name="$config['full_tag_open'] = '<tag>';" func="yes" />
<KeyWord name="$config['num_links'] = number_links;" func="yes" />
<KeyWord name="$config['uri_segment'] = segment;" func="yes" />
<KeyWord name="$this->load->library('session');" func="yes" />
<KeyWord name="$this->session->userdata('item');" func="yes" />
<KeyWord name="$this->session->set_userdata(name, value);" func="yes" />
<KeyWord name="$this->session->unset_userdata(name);" func="yes" />
<KeyWord name="$this->session->sess_destroy();" func="yes" />
<KeyWord name="$this->session->flashdata('item');" func="yes" />
<KeyWord name="$this->session->set_flashdata(name, value);" func="yes" />
<KeyWord name="$this->session->keep_flashdata('item');" func="yes" />
<KeyWord name="$this->load->library('trackback');" func="yes" />
<KeyWord name="$this->trackback->send();" func="yes" />
<KeyWord name="$this->trackback->display_errors();" func="yes" />
<KeyWord name="$this->trackback->receive();" func="yes" />
<KeyWord name="$this->trackback->send_error(':1Error Message}');" func="yes" />
<KeyWord name="$this->trackback->send_success();" func="yes" />
<KeyWord name="$this->load->library('parser');" func="yes" />
<KeyWord name="$this->parser->parse('template_path', , FALSE);" func="yes" />
<KeyWord name="$this->load->library('unit_test');" func="yes" />
<KeyWord name="$this->unit->run(, , 'test_name');" func="yes" />
<KeyWord name="$this->unit->run(, 'is_string', 'test_name');" func="yes" />
<KeyWord name="$this->unit->run(, 'is_bool', 'test_name');" func="yes" />
<KeyWord name="$this->unit->run(, 'is_true', 'test_name');" func="yes" />
<KeyWord name="$this->unit->run(, 'is_false', 'test_name');" func="yes" />
<KeyWord name="$this->unit->run(, 'is_int', 'test_name');" func="yes" />
<KeyWord name="$this->unit->run(, 'is_numeric', 'test_name');" func="yes" />
<KeyWord name="$this->unit->run(, 'is_float', 'test_name');" func="yes" />
<KeyWord name="$this->unit->run(, 'is_double', 'test_name');" func="yes" />
<KeyWord name="$this->unit->run(, 'is_array', 'test_name');" func="yes" />
<KeyWord name="$this->unit->run(, 'is_null', 'test_name');" func="yes" />
<KeyWord name="$this->unit->report();" func="yes" />
<KeyWord name="$this->unit->result();" func="yes" />
<KeyWord name="$this->unit->use_strict(TRUE);" func="yes" />
<KeyWord name="$this->unit->active(FALSE);" func="yes" />
<KeyWord name="$this->unit->set_template(template_name);" func="yes" />
<KeyWord name="$this->uri->segment(number);" func="yes" />
<KeyWord name="$this->uri->rsegment(number);" func="yes" />
<KeyWord name="$this->uri->slash_segment(number);" func="yes" />
<KeyWord name="$this->uri->slash_rsegment(number);" func="yes" />
<KeyWord name="$this->uri->uri_to_assoc(number);" func="yes" />
<KeyWord name="$this->uri->ruri_to_assoc(number);" func="yes" />
<KeyWord name="$this->uri->assoc_to_uri(data_array);" func="yes" />
<KeyWord name="$this->uri->uri_string();" func="yes" />
<KeyWord name="$this->uri->ruri_string();" func="yes" />
<KeyWord name="$this->uri->total_segments();" func="yes" />
<KeyWord name="$this->uri->total_segments();" func="yes" />
<KeyWord name="$this->uri->segment_array();" func="yes" />
<KeyWord name="$this->uri->rsegment_array();" func="yes" />
<KeyWord name="$this->load->library('user_agent');" func="yes" />
<KeyWord name="$this->agent->is_browser();" func="yes" />
<KeyWord name="$this->agent->is_mobile();" func="yes" />
<KeyWord name="$this->agent->is_robot();" func="yes" />
<KeyWord name="$this->agent->is_referral();" func="yes" />
<KeyWord name="$this->agent->browser();" func="yes" />
<KeyWord name="$this->agent->version();" func="yes" />
<KeyWord name="$this->agent->mobile();" func="yes" />
<KeyWord name="$this->agent->robot();" func="yes" />
<KeyWord name="$this->agent->platform();" func="yes" />
<KeyWord name="$this->agent->referrer();" func="yes" />
<KeyWord name="$this->agent->agent_string();" func="yes" />
<KeyWord name="$this->agent->accept_lang('en');" func="yes" />
<KeyWord name="$this->agent->accept_charset('utf-8');" func="yes" />
<KeyWord name="$this->load->library('validation');" func="yes" />
<KeyWord name="$this->validation->set_rules();" func="yes" />
<KeyWord name="$this->validation->set_fields();" func="yes" />
<KeyWord name="$this->validation->run();" func="yes" />
<KeyWord name="$fields['field name'] = 'value';" func="yes" />
<KeyWord name="$this->validation->set_select('name', 'value');" func="yes" />
<KeyWord name="$this->validation->set_checkbox('name', value);" func="yes" />
<KeyWord name="$this->validation->set_radio('name', value);" func="yes" />
<KeyWord name="$this->validation->set_message('rule_name', 'Error Message');" func="yes" />
<KeyWord name="$this->validation->required('value');" func="yes" />
<KeyWord name="$this->validation->set_error_delimiters('<div class="error">', '</div>');" func="yes" />
<KeyWord name="$this->validation->error_string();" func="yes" />
<KeyWord name="$this->load->library('xmlrpc');" func="yes" />
<KeyWord name="$this->load->library('xmlrpcs');" func="yes" />
<KeyWord name="$this->xmlrpc->server('http://rpc.pingomatic.com/', 80);" func="yes" />
<KeyWord name="$this->xmlrpc->timeout(seconds);" func="yes" />
<KeyWord name="$this->xmlrpc->method('method_name');" func="yes" />
<KeyWord name="$this->xmlrpc->request('');" func="yes" />
<KeyWord name="$this->xmlrpc->send_request();" func="yes" />
<KeyWord name="$this->xmlrpc->set_debug(TRUE);" func="yes" />
<KeyWord name="$this->xmlrpc->display_error();" func="yes" />
<KeyWord name="$this->xmlrpc->display_response();" func="yes" />
<KeyWord name="$this->xmlrpc->send_error_message('Error Code', 'Error message');" func="yes" />
<KeyWord name="$this->xmlrpc->send_response();" func="yes" />
<KeyWord name="$this->xmlrpcs->initialize();" func="yes" />
<KeyWord name="$this->xmlrpcs->serve();" func="yes" />
<KeyWord name="$this->load->library('zip');" func="yes" />
<KeyWord name="$this->zip->add_data(name, data);" func="yes" />
<KeyWord name="$this->zip->add_dir(folder_path);" func="yes" />
<KeyWord name="$this->zip->read_file(file_path);" func="yes" />
<KeyWord name="$this->zip->read_dir(folder_path);" func="yes" />
<KeyWord name="$this->zip->archive(output_path);" func="yes" />
<KeyWord name="$this->zip->download(file_path);" func="yes" />
<KeyWord name="$this-zip->get_zip();" func="yes" />
<KeyWord name="$this-zip->clear_data();" func="yes" />
<KeyWord name="$query = $this->db->get('table_name', limit, offset);" func="yes" />
<KeyWord name="$query = $this->db->get_where('table_name', array, limit, offset);" func="yes" />
<KeyWord name="$query = $this->db->from('table_name');" func="yes" />
<KeyWord name="$query->result();" func="yes" />
<KeyWord name="$query->result_array();" func="yes" />
<KeyWord name="$query->row();" func="yes" />
<KeyWord name="$query->row_array();" func="yes" />
<KeyWord name="$query->first_row();" func="yes" />
<KeyWord name="$query->last_row();" func="yes" />
<KeyWord name="$query->next_row();" func="yes" />
<KeyWord name="$query->previous_row();" func="yes" />
<KeyWord name="$query->num_rows();" func="yes" />
<KeyWord name="$query->num_fields();" func="yes" />
<KeyWord name="$query->free_result();" func="yes" />
<KeyWord name="$this->db->select('fields, to, select');" func="yes" />
<KeyWord name="$this->db->select_max('field', 'rename_to');" func="yes" />
<KeyWord name="$this->db->select_min('field', 'rename_to');" func="yes" />
<KeyWord name="$this->db->select_avg('field', 'rename_to');" func="yes" />
<KeyWord name="$this->db->select_sum('field', 'rename_to');" func="yes" />
<KeyWord name="$this->db->join('join_table_name', 'join_table_name.id = original_table.id', 'join_type');" func="yes" />
<KeyWord name="$this->db->where(field, value);" func="yes" />
<KeyWord name="$this->db->or_where(field, value);" func="yes" />
<KeyWord name="$this->db->where_in(field, value);" func="yes" />
<KeyWord name="$this->db->where_not_in(field, value);" func="yes" />
<KeyWord name="$this->db->or_where_in(field, value);" func="yes" />
<KeyWord name="$this->db->or_where_not_in(field, value);" func="yes" />
<KeyWord name="$this->db->like(field, term, 'wildcard_position');" func="yes" />
<KeyWord name="$this->db->or_like('field', $term);" func="yes" />
<KeyWord name="$this->db->not_like(field, term, 'wildcard_position');" func="yes" />
<KeyWord name="$this->db->or_not_like(field, term, 'wildcard_position');" func="yes" />
<KeyWord name="$this->db->group_by(field);" func="yes" />
<KeyWord name="$this->db->distinct();" func="yes" />
<KeyWord name="$this->db->having(field, term);" func="yes" />
<KeyWord name="$this->db->limit(number_of_rows);" func="yes" />
<KeyWord name="$this->db->order_by(field, desc or asc);" func="yes" />
<KeyWord name="$this->db->count_all('table_name');" func="yes" />
<KeyWord name="$this->db->count_all_results();" func="yes" />
<KeyWord name="$this->db->start_cache();" func="yes" />
<KeyWord name="$this->db->stop_cache();" func="yes" />
<KeyWord name="$this->db->flush_cache();" func="yes" />
<KeyWord name="$this->db->insert('table_name', $array_name);" func="yes" />
<KeyWord name="$this->db->insert_string('table_name', $data);" func="yes" />
<KeyWord name="$this->db->set('table_name', $values);" func="yes" />
<KeyWord name="$this->db->update('table_name', $array_name);" func="yes" />
<KeyWord name="$this->db->update_string('table_name', $data, $where);" func="yes" />
<KeyWord name="$this->db->delete('table_name', array('field', $value));" func="yes" />
<KeyWord name="$this->db->cache_on();" func="yes" />
<KeyWord name="$this->db->cache_off();" func="yes" />
<KeyWord name="$this->db->cache_delete();" func="yes" />
<KeyWord name="$this->db->cache_delete_all();" func="yes" />
<KeyWord name="$this->db->insert_id();" func="yes" />
<KeyWord name="$this->db->affected_rows();" func="yes" />
<KeyWord name="$this->db->platform();" func="yes" />
<KeyWord name="$this->db->version();" func="yes" />
<KeyWord name="$this->db->last_query();" func="yes" />
<KeyWord name="$this->db->query('YOUR QUERY HERE');" func="yes" />
<KeyWord name="$this->db->simple_query('YOUR QUERY HERE');" func="yes" />
<KeyWord name="$this->db->escape('text');" func="yes" />
<KeyWord name="$this->db->escape_str('text');" func="yes" />
<KeyWord name="$this->load->dbforge();" func="yes" />
<KeyWord name="$this->db->list_tables();" func="yes" />
<KeyWord name="$this->db->table_exists();" func="yes" />
<KeyWord name="$this->dbutil->repair_table('table_name');" func="yes" />
<KeyWord name="$this->dbutil->optimize_table('table_name');" func="yes" />
<KeyWord name="$this->dbutil->list_databases();" func="yes" />
<KeyWord name="$this->dbutil->optimize_database();" func="yes" />
<KeyWord name="$this->dbutil->csv_from_result($db_result);" func="yes" />
<KeyWord name="$this->dbutil->xml_from_result($db_result);" func="yes" />
<KeyWord name="$this->dbutil->backup($backup_prefs);" func="yes" />
<KeyWord name="$this->load->dbforge();" func="yes" />
<KeyWord name="$this->dbforge->create_database('db_name');" func="yes" />
<KeyWord name="$this->dbforge->drop_database('db_name');" func="yes" />
<KeyWord name="$this->dbforge->add_key(field_name, TRUE);" func="yes" />
<KeyWord name="$this->dbforge->add_field(field_name, TRUE);" func="yes" />
<KeyWord name="$this->dbforge->add_column($fields);" func="yes" />
<KeyWord name="$this->dbforge->modify_column($fields);" func="yes" />
<KeyWord name="$this->dbforge->drop_column($fields);" func="yes" />
<KeyWord name="$this->dbforge->create_table(table_name);" func="yes" />
<KeyWord name="$this->dbforge->rename_table(old_name, new_name);" func="yes" />
<KeyWord name="$this->dbforge->drop_table('table_name');" func="yes" />
<KeyWord name="$this->db->trans_start();" func="yes" />
<KeyWord name="$this->db->trans_complete();" func="yes" />
<KeyWord name="$this->db->trans_status();" func="yes" />
<KeyWord name="$this->db->trans_off();" func="yes" />
<KeyWord name="$this->db->trans_begin();" func="yes" />
<KeyWord name="$this->db->trans_rollback();" func="yes" />
<KeyWord name="$this->db->trans_commit();" func="yes" />
<KeyWord name="$this->load->model('name_model');" func="yes" />
<KeyWord name="$this->load->model('name_model','name_model', TRUE);" func="yes" />
<KeyWord name="$this->Model_name_model->property();" func="yes" />
<KeyWord name="$this->Model_name_model->method(args);" func="yes" />
<KeyWord name="show_error('Message');" func="yes" />
<KeyWord name="show_404('Page');" func="yes" />
<KeyWord name="log_message('error', 'Error message');" func="yes" />
<KeyWord name="log_message('debug', 'Debug message');" func="yes" />
<KeyWord name="log_message('info', 'Informational message');" func="yes" />
</AutoComplete>
</NotepadPlus>
[/code]
I'm struggling with this same feature - It'd be useful for the help to give us access tot eh XML schema, and a few more examples - I've cribbed a lot from the PHP XML definition, but doesn't seem to work...
http://notepad-plus.wiki.sourceforge.net/Create_AutoComplete
Function name should be without parens. Besides I guess since version 5 npp eats only XML API files. Check out most current PHP API file for better understanding. I don't think your xml file is alright. All function names must be presorted.