This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270397

Summary: Invalid search results
Product: ide Reporter: stanislav.kravets
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 8   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description stanislav.kravets 2017-04-14 07:16:23 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 8.1 version 6.3 running on x86
Java; VM; Vendor = 1.8.0_91
Runtime = Java HotSpot(TM) Client VM 25.91-b14

Reproducibility: Happens every time

STEPS:
Trying to search (via Ctrl+F) text ".tpl" (without quotes) in the next PHP code fragment:

			$oTable->sDataTemplate = $this->sPrefix . "/row_" . $this->sPrefix . ".tpl";
			$oTable->iRowPerPage = Base::$aRequest['content'] ? Base::$aRequest['content'] : 20;
			$oTable->bShowRowsPerPage = true;
			//$oTable->bShowPerPageAll=true;
			$oTable->sActionRowPerPage = preg_replace('/&content=([^&]*)/', '', $_SERVER ['QUERY_STRING']);
			$oTable->aCallback = array($this, 'CallParseAccessory');
			$oTable->bTextStepShow=false;

			//Base::$sText .= $oTable->getTable();
			$oTable->getTable();
			//Base::$aData['template']['sPageTitle']=Language::GetMessage('tire module title');
			//Debug::PrintPre($sLinkFull);
			Base::$sText .= Base::$tpl->fetch($this->sPrefix . '/index.tpl');
		} else {
			Base::$sText .= Base::$tpl->fetch($this->sPrefix . '/index.tpl');

ACTUAL:
  search result contains '.tpl' in the first line and missing in the last lines.

EXPECTED:
  find all 3 occurrence
Comment 1 stanislav.kravets 2017-04-14 07:16:30 UTC
Created attachment 164107 [details]
IDE log