! Syntax highlighting patterns for C++ ! ! INSTALLATION ! ! Load this pattern by starting nedit with: ! ! nedit -import ! ! Then, check that the patterns were loaded correctly, and choose Save Defaults ! from the Preferences menu. The new patterns will now be incorporated into ! your own .nedit file, so the next time you start NEdit, you will no longer ! need to use -import. ! ! These comments will not appear in your ~/.nedit ! nedit.highlightPatterns: SystemC:1:0{\n\ comment:"/\\*":"\\*/"::Comment::\n\ cplus comment:"//":"$"::Comment::\n\ string:"""":"""":"\\n":String::\n\ preprocessor line:"^[ \\t]*#":"$"::Preprocessor::\n\ string escape chars:"\\\\(.|\\n)":::String1:string:\n\ preprocessor esc chars:"\\\\(.|\\n)":::Preprocessor1:preprocessor line:\n\ preprocessor comment:"/\\*":"\\*/"::Comment:preprocessor line:\n\ preproc cplus comment:"//":"$"::Comment:preprocessor line:\n\ character constant:"'":"'":"[^\\\\][^']":Character Const::\n\ numeric constant:"<((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?>":::Numeric Const::D\n\ storage keyword:"<(class|typename|typeid|template|friend|virtual|inline|explicit|operator|public|private|protected|const|extern|auto|register|static|mutable|unsigned|signed|volatile|char|double|float|int|long|short|bool|wchar_t|void|typedef|struct|union|enum|asm|export|sc_bit|sc_logic|sc_int|sc_uint|sc_bigint|sc_biguint|sc_bv|sc_lv|sc_fixed|sc_ufixed|sc_fix|sc_ufix|sc_time|sc_clock|sc_fifo|sc_signal|sc_buffer|sc_signal_rv|sc_mutex|sc_semaphore)>":::Storage Type::D\n\ keyword:"<(new|delete|this|return|goto|if|else|case|default|switch|break|continue|while|do|for|try|catch|throw|sizeof|true|false|namespace|using|dynamic_cast|static_cast|reinterpret_cast|const_cast|sc_module|sc_module_name|write|read|wait|notify|next_trigger|initialize|event|pos|neg|posedge|negedge|period|name|sensitive|sensitive_pos|sensitive_neg|duty_cycle|watching|sc_time_stamp|sc_simulation_time|sc_master|sc_inmaster|sc_outmaster|sc_inoutmaster|sc_slave|sc_inslave|sc_outslave|sc_inoutslave|sc_in_clk|sc_out_clk|sc_port|sc_channel|sc_interface|sc_in|sc_out|sc_inout|sc_in_rv|sc_out_rv|sc_inout_rv|value_change_event|value_changed_event|default_event|posedge_event|negedge_event|sc_fifo_in_if|sc_signal_inout_if|sc_signal_in_if|nb_write|num_free|data_read_event|sc_fifo_out_if|nb_read|num_available|data_written|data_written_event|sc_fifo_out|sc_fifo_in|sc_mutex_if|lock|trylock|unlock|kind|sc_semaphore_if|trywait|post|get_value|sc_link_mp|sc_event|sc_main|sc_start|sc_trace|sc_trace_file|sc_stop|sc_stop_here|sc_set_time_resolution|sc_get_time_resolution|sc_time_unit|SC_FS|SC_PS|SC_NS|SC_US|SC_MS|SC_SEC|sc_set_default_time_unit|sc_get_default_time_unit|sc_interface|sc_port|sc_prim_channel|sc_gen_unique_name|scv_smart_ptr|assign|scv_shared_ptr|scv_expression|scv_extensions_if|scv_extensions|scv_extensions_base|scv_enum_base|scv_extension_rw_if|scv_extension_util_if|scv_extension_callbacks_if|scv_extension_type_if|scv_extension_rand_if|get_pointer|get_array_size|get_array_elt|callback_reason|register_cb|callback_h|remove_cb|scv_random|set_global_seed|pick_random_seed|next|seed_monitor_on|seed_monitor_off|keep_out|keep_only|disable_randomization|scv_bag|set_mode|add|scv_constraint_base|scv_sparse_array|scv_tr_db|scv_tr_generator|set_default_db|set_algorithm|set_default_algorithm|scv_tr_stream|scv_tr_handle|scv_report|has_valid_extensions|is_dynamic|set_name|get_name|get_short_name|enable_randomization|disable_randomization|set_random|)>":::Keyword::D\n\ SCclass:"<(SC_MODULE|SC_METHOD|SC_CTOR|SC_HAS_PROCESS|SC_THREAD|SC_CTHREAD|SC_PROTOCOL|SCV_EXTENSIONS_CTOR|SCV_FIELD|SCV_ENUM_CTOR|SCV_ENUM|SCV_CONSTRAINT_CTOR|SCV_CONSTRAINT|SC_INFO|SC_WARNING|SC_ERROR|SC_FATAL|SCV_UNSPECIFIED|SCV_DO_NOTHING|SCV_THROW|SCV_LOG|SCV_DISPLAY|SCV_CACHE_REPORT|SCV_INFO|SCV_WARNING|SCV_ERROR|SCV_FATAL)>":::String2::D\n\ braces:"[{}]":::Keyword::D\n\ } nedit.languageModes: SystemC:.cc .cpp .h::::::".,/\\`'!|@#%^&*()-=+{}[]"":;<>?~" ! generated with ./extract_lang.pl version 0.1